home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_161_API < prev    next >
Unknown  |  1994-09-22  |  46.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 06 00 00 |........|........|
|00000030| 00 26 00 00 00 00 00 00 | 00 26 41 50 49 20 00 00 |.&......|.&API ..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0c 41 70 70 73 54 | 6f 47 6f 20 41 50 49 00 |...AppsT|oGo API.|
|00000060| 00 06 00 00 00 00 00 5e | 00 00 00 00 00 00 00 5e |.......^|.......^|
|00000070| 00 00 00 00 01 70 00 14 | 02 6a 00 ff 00 00 00 00 |.....p..|.j......|
|00000080| 00 00 0f a8 00 00 00 00 | 4e 1d 00 00 00 09 00 00 |........|N.......|
|00000090| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 83 00 0b 40 14 6b 53 63 |........|...@.kSc|
|000000b0| 72 65 65 6e 4f 6e 65 4c | 69 6e 65 2f 31 39 39 39 |reenOneL|ine/1999|
|000000c0| 37 00 06 47 65 6e 65 76 | 61 00 00 00 00 00 00 06 |7..Genev|a.......|
|000000d0| 00 00 00 00 73 9e 00 00 | 00 00 00 00 73 9e 00 00 |....s...|....s...|
|000000e0| 00 28 00 ce 75 30 03 a7 | 01 ff 00 00 00 00 00 00 |.(..u0..|........|
|000000f0| 0f a8 00 00 00 00 4e 1e | 00 00 00 0a 00 00 00 04 |......N.|........|
|00000100| 00 04 ff fc ff fa 00 04 | 00 04 ff fc ff fc 00 00 |........|........|
|00000110| 00 00 00 00 00 00 83 00 | 0b 40 08 54 65 78 74 45 |........|.@.TextE|
|00000120| 64 69 74 00 06 47 65 6e | 65 76 61 00 73 36 41 70 |dit..Gen|eva.s6Ap|
|00000130| 70 73 54 6f 47 6f 20 53 | 75 62 2d 41 50 49 20 66 |psToGo S|ub-API f|
|00000140| 72 6f 6d 20 66 69 6c 65 | 20 44 54 53 2e 4c 69 62 |rom file| DTS.Lib|
|00000150| 3a 41 45 43 6f 6e 6e 65 | 63 74 2e 63 0d 41 70 70 |:AEConne|ct.c.App|
|00000160| 73 54 6f 47 6f 20 53 75 | 62 2d 41 50 49 20 66 72 |sToGo Su|b-API fr|
|00000170| 6f 6d 20 66 69 6c 65 20 | 44 54 53 2e 4c 69 62 3a |om file |DTS.Lib:|
|00000180| 41 45 52 65 71 75 69 72 | 65 64 2e 63 0d 41 70 70 |AERequir|ed.c.App|
|00000190| 73 54 6f 47 6f 20 53 75 | 62 2d 41 50 49 20 66 72 |sToGo Su|b-API fr|
|000001a0| 6f 6d 20 66 69 6c 65 20 | 44 54 53 2e 4c 69 62 3a |om file |DTS.Lib:|
|000001b0| 41 45 55 74 69 6c 73 2e | 63 0d 41 70 70 73 54 6f |AEUtils.|c.AppsTo|
|000001c0| 47 6f 20 53 75 62 2d 41 | 50 49 20 66 72 6f 6d 20 |Go Sub-A|PI from |
|000001d0| 66 69 6c 65 20 44 54 53 | 2e 4c 69 62 3a 41 45 57 |file DTS|.Lib:AEW|
|000001e0| 46 4d 54 2e 63 0d 41 70 | 70 73 54 6f 47 6f 20 53 |FMT.c.Ap|psToGo S|
|000001f0| 75 62 2d 41 50 49 20 66 | 72 6f 6d 20 73 6b 65 6c |ub-API f|rom skel|
|00000200| 65 74 6f 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |eton app|lication|
|00000210| 20 41 70 70 57 61 6e 6e | 61 62 65 0d 41 70 70 73 | AppWann|abe.Apps|
|00000220| 54 6f 47 6f 20 53 75 62 | 2d 41 50 49 20 66 72 6f |ToGo Sub|-API fro|
|00000230| 6d 20 66 69 6c 65 20 44 | 54 53 2e 4c 69 62 3a 41 |m file D|TS.Lib:A|
|00000240| 70 70 6c 65 54 61 6c 6b | 2e 63 0d 41 70 70 73 54 |ppleTalk|.c.AppsT|
|00000250| 6f 47 6f 20 53 75 62 2d | 41 50 49 20 66 72 6f 6d |oGo Sub-|API from|
|00000260| 20 66 69 6c 65 20 44 54 | 53 2e 4c 69 62 3a 43 49 | file DT|S.Lib:CI|
|00000270| 63 6f 6e 43 6f 6e 74 72 | 6f 6c 2e 63 0d 41 70 70 |conContr|ol.c.App|
|00000280| 73 54 6f 47 6f 20 53 75 | 62 2d 41 50 49 20 66 72 |sToGo Su|b-API fr|
|00000290| 6f 6d 20 66 69 6c 65 20 | 44 54 53 2e 4c 69 62 3a |om file |DTS.Lib:|
|000002a0| 43 74 6c 48 61 6e 64 6c | 65 72 2e 63 0d 41 70 70 |CtlHandl|er.c.App|
|000002b0| 73 54 6f 47 6f 20 53 75 | 62 2d 41 50 49 20 66 72 |sToGo Su|b-API fr|
|000002c0| 6f 6d 20 66 69 6c 65 20 | 44 54 53 2e 4c 69 62 3a |om file |DTS.Lib:|
|000002d0| 46 69 6c 65 32 2e 63 0d | 41 70 70 73 54 6f 47 6f |File2.c.|AppsToGo|
|000002e0| 20 53 75 62 2d 41 50 49 | 20 66 72 6f 6d 20 66 69 | Sub-API| from fi|
|000002f0| 6c 65 20 44 54 53 2e 4c | 69 62 3a 47 57 4c 61 79 |le DTS.L|ib:GWLay|
|00000300| 65 72 73 2e 63 0d 41 70 | 70 73 54 6f 47 6f 20 53 |ers.c.Ap|psToGo S|
|00000310| 75 62 2d 41 50 49 20 66 | 72 6f 6d 20 66 69 6c 65 |ub-API f|rom file|
|00000320| 20 44 54 53 2e 4c 69 62 | 3a 49 6e 69 74 2e 63 0d | DTS.Lib|:Init.c.|
|00000330| 41 70 70 73 54 6f 47 6f | 20 53 75 62 2d 41 50 49 |AppsToGo| Sub-API|
|00000340| 20 66 72 6f 6d 20 66 69 | 6c 65 20 44 54 53 2e 4c | from fi|le DTS.L|
|00000350| 69 62 3a 4c 69 73 74 43 | 6f 6e 74 72 6f 6c 2e 63 |ib:ListC|ontrol.c|
|00000360| 0d 41 70 70 73 54 6f 47 | 6f 20 53 75 62 2d 41 50 |.AppsToG|o Sub-AP|
|00000370| 49 20 66 72 6f 6d 20 66 | 69 6c 65 20 44 54 53 2e |I from f|ile DTS.|
|00000380| 4c 69 62 3a 50 49 43 54 | 43 6f 6e 74 72 6f 6c 2e |Lib:PICT|Control.|
|00000390| 63 0d 41 70 70 73 54 6f | 47 6f 20 53 75 62 2d 41 |c.AppsTo|Go Sub-A|
|000003a0| 50 49 20 66 72 6f 6d 20 | 66 69 6c 65 20 44 54 53 |PI from |file DTS|
|000003b0| 2e 4c 69 62 3a 50 50 43 | 2e 63 0d 41 70 70 73 54 |.Lib:PPC|.c.AppsT|
|000003c0| 6f 47 6f 20 53 75 62 2d | 41 50 49 20 66 72 6f 6d |oGo Sub-|API from|
|000003d0| 20 66 69 6c 65 20 44 54 | 53 2e 4c 69 62 3a 50 72 | file DT|S.Lib:Pr|
|000003e0| 65 66 65 72 65 6e 63 65 | 73 2e 63 0d 41 70 70 73 |eference|s.c.Apps|
|000003f0| 54 6f 47 6f 20 53 75 62 | 2d 41 50 49 20 66 72 6f |ToGo Sub|-API fro|
|00000400| 6d 20 66 69 6c 65 20 44 | 54 53 2e 4c 69 62 3a 50 |m file D|TS.Lib:P|
|00000410| 72 69 6e 74 2e 63 0d 41 | 70 70 73 54 6f 47 6f 20 |rint.c.A|ppsToGo |
|00000420| 53 75 62 2d 41 50 49 20 | 66 72 6f 6d 20 66 69 6c |Sub-API |from fil|
|00000430| 65 20 44 54 53 2e 4c 69 | 62 3a 53 74 72 69 6e 67 |e DTS.Li|b:String|
|00000440| 55 74 69 6c 73 2e 63 0d | 41 70 70 73 54 6f 47 6f |Utils.c.|AppsToGo|
|00000450| 20 53 75 62 2d 41 50 49 | 20 66 72 6f 6d 20 66 69 | Sub-API| from fi|
|00000460| 6c 65 20 44 54 53 2e 4c | 69 62 3a 54 65 78 74 45 |le DTS.L|ib:TextE|
|00000470| 64 69 74 43 6f 6e 74 72 | 6f 6c 2e 63 0d 41 70 70 |ditContr|ol.c.App|
|00000480| 73 54 6f 47 6f 20 53 75 | 62 2d 41 50 49 20 66 72 |sToGo Su|b-API fr|
|00000490| 6f 6d 20 66 69 6c 65 20 | 44 54 53 2e 4c 69 62 3a |om file |DTS.Lib:|
|000004a0| 54 72 65 65 4f 62 6a 2e | 63 0d 41 70 70 73 54 6f |TreeObj.|c.AppsTo|
|000004b0| 47 6f 20 53 75 62 2d 41 | 50 49 20 66 72 6f 6d 20 |Go Sub-A|PI from |
|000004c0| 66 69 6c 65 20 44 54 53 | 2e 4c 69 62 3a 55 74 69 |file DTS|.Lib:Uti|
|000004d0| 6c 69 74 69 65 73 2e 63 | 0d 41 70 70 73 54 6f 47 |lities.c|.AppsToG|
|000004e0| 6f 20 53 75 62 2d 41 50 | 49 20 66 72 6f 6d 20 66 |o Sub-AP|I from f|
|000004f0| 69 6c 65 20 44 54 53 2e | 4c 69 62 3a 56 69 65 77 |ile DTS.|Lib:View|
|00000500| 48 69 65 72 61 72 63 68 | 79 2e 63 0d 41 70 70 73 |Hierarch|y.c.Apps|
|00000510| 54 6f 47 6f 20 53 75 62 | 2d 41 50 49 20 66 72 6f |ToGo Sub|-API fro|
|00000520| 6d 20 66 69 6c 65 20 44 | 54 53 2e 4c 69 62 3a 57 |m file D|TS.Lib:W|
|00000530| 69 6e 64 6f 77 32 2e 63 | 0d 0d 50 72 6f 74 6f 74 |indow2.c|..Protot|
|00000540| 79 70 65 20 66 6f 72 20 | 54 65 78 74 45 64 69 74 |ype for |TextEdit|
|00000550| 43 6f 6e 74 72 6f 6c 20 | 66 61 73 74 20 6b 65 79 |Control |fast key|
|00000560| 73 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 50 72 6f 74 |s functi|on..Prot|
|00000570| 6f 74 79 70 65 20 66 6f | 72 20 54 65 78 74 45 64 |otype fo|r TextEd|
|00000580| 69 74 43 6f 6e 74 72 6f | 6c 20 6b 65 79 20 66 69 |itContro|l key fi|
|00000590| 6c 74 65 72 20 66 75 6e | 63 74 69 6f 6e 2e 0d 50 |lter fun|ction..P|
|000005a0| 72 6f 74 6f 74 79 70 65 | 20 66 6f 72 20 77 72 69 |rototype| for wri|
|000005b0| 74 69 6e 67 20 79 6f 75 | 72 20 6f 77 6e 20 44 6f |ting you|r own Do|
|000005c0| 49 50 43 4c 69 73 74 50 | 6f 72 74 73 20 66 69 6c |IPCListP|orts fil|
|000005d0| 74 65 72 2e 0d 41 64 64 | 20 61 20 73 65 74 20 6f |ter..Add| a set o|
|000005e0| 66 20 63 6f 6e 74 72 6f | 6c 73 20 28 61 6e 64 20 |f contro|ls (and |
|000005f0| 73 65 74 73 20 72 65 66 | 65 72 65 6e 63 65 64 20 |sets ref|erenced |
|00000600| 62 79 20 74 68 61 74 20 | 73 65 74 29 20 74 6f 20 |by that |set) to |
|00000610| 74 68 65 20 77 69 6e 64 | 6f 77 2e 0d 52 65 67 69 |the wind|ow..Regi|
|00000620| 73 74 65 72 20 6e 65 74 | 77 6f 72 6b 20 50 50 43 |ster net|work PPC|
|00000630| 20 61 6c 69 61 73 2e 0d | 41 64 6a 75 73 74 20 74 | alias..|Adjust t|
|00000640| 68 65 20 64 61 74 61 20 | 73 69 7a 65 2c 20 67 72 |he data |size, gr|
|00000650| 65 61 74 65 72 20 6f 72 | 20 73 6d 61 6c 6c 65 72 |eater or| smaller|
|00000660| 2c 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 73 |, depend|ing on s|
|00000670| 69 67 6e 20 6f 66 20 27 | 64 65 6c 74 61 27 2e 0d |ign of '|delta'..|
|00000680| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00000690| 64 6f 77 2e 63 29 2e 20 | 20 43 61 6c 6c 65 64 20 |dow.c). | Called |
|000006a0| 62 79 20 66 72 61 6d 65 | 77 6f 72 6b 20 73 6f 20 |by frame|work so |
|000006b0| 61 70 70 20 63 61 6e 20 | 61 64 6a 75 73 74 20 74 |app can |adjust t|
|000006c0| 68 65 20 6d 65 6e 75 73 | 2e 0d 4d 6f 64 69 66 79 |he menus|..Modify|
|000006d0| 20 73 63 72 6f 6c 6c 62 | 61 72 20 76 61 6c 75 65 | scrollb|ar value|
|000006e0| 73 20 74 6f 20 72 65 66 | 6c 65 63 74 20 6f 74 68 |s to ref|lect oth|
|000006f0| 65 72 20 77 69 6e 64 6f | 77 20 63 68 61 6e 67 65 |er windo|w change|
|00000700| 73 2e 0d 46 69 6c 74 65 | 72 20 6f 75 74 20 61 70 |s..Filte|r out ap|
|00000710| 70 6c 69 63 61 74 69 6f | 6e 73 20 6f 74 68 65 72 |plicatio|ns other|
|00000720| 20 74 68 61 6e 20 73 65 | 6c 66 2e 0d 54 68 65 20 | than se|lf..The |
|00000730| 61 6c 65 72 74 20 66 69 | 6c 74 65 72 20 6d 61 6b |alert fi|lter mak|
|00000740| 65 73 20 73 75 72 65 20 | 74 68 61 74 20 74 68 61 |es sure |that tha|
|00000750| 74 20 74 68 65 20 6f 75 | 74 6c 69 6e 65 20 66 6f |t the ou|tline fo|
|00000760| 72 20 74 68 65 20 62 75 | 74 74 6f 6e 20 67 65 74 |r the bu|tton get|
|00000770| 73 20 72 65 64 72 61 77 | 6e 2e 0d 55 70 6f 6e 20 |s redraw|n..Upon |
|00000780| 61 6e 20 27 6f 64 6f 63 | 27 20 65 76 65 6e 74 2c |an 'odoc|' event,|
|00000790| 20 61 75 74 6f 2d 73 74 | 61 72 74 20 61 6e 64 20 | auto-st|art and |
|000007a0| 63 6f 6e 6e 65 63 74 20 | 74 6f 20 61 20 72 65 6d |connect |to a rem|
|000007b0| 6f 74 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |ote appl|ication.|
|000007c0| 0d 49 6e 69 74 69 61 6c | 69 7a 65 20 41 54 55 74 |.Initial|ize ATUt|
|000007d0| 69 6c 73 2e 0d 43 6f 6e | 76 65 72 74 20 74 68 65 |ils..Con|vert the|
|000007e0| 20 74 6f 6f 2d 62 69 67 | 20 74 65 78 74 20 74 6f | too-big| text to|
|000007f0| 20 61 20 50 49 43 54 20 | 73 6f 20 69 74 20 63 61 | a PICT |so it ca|
|00000800| 6e 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 2e 0d |n be dis|played..|
|00000810| 55 73 65 64 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |Used ins|tead of |
|00000820| 42 65 67 69 6e 55 70 64 | 61 74 65 20 74 6f 20 64 |BeginUpd|ate to d|
|00000830| 72 61 77 20 74 6f 20 6a | 75 73 74 20 74 68 65 20 |raw to j|ust the |
|00000840| 63 6f 6e 74 65 6e 74 20 | 61 72 65 61 2e 0d 55 73 |content |area..Us|
|00000850| 65 64 20 69 6e 73 74 65 | 61 64 20 6f 66 20 42 65 |ed inste|ad of Be|
|00000860| 67 69 6e 55 70 64 61 74 | 65 20 74 6f 20 64 72 61 |ginUpdat|e to dra|
|00000870| 77 20 74 6f 20 6a 75 73 | 74 20 74 68 65 20 66 72 |w to jus|t the fr|
|00000880| 61 6d 65 20 61 72 65 61 | 2e 0d 43 6f 6e 76 65 72 |ame area|..Conver|
|00000890| 74 20 74 68 65 20 63 2d | 73 74 72 69 6e 67 20 74 |t the c-|string t|
|000008a0| 6f 20 61 20 64 65 63 69 | 6d 61 6c 20 6e 75 6d 62 |o a deci|mal numb|
|000008b0| 65 72 2e 0d 43 6f 6e 76 | 65 72 74 20 74 68 65 20 |er..Conv|ert the |
|000008c0| 63 2d 73 74 72 69 6e 67 | 20 74 6f 20 61 20 68 65 |c-string| to a he|
|000008d0| 78 20 6e 75 6d 62 65 72 | 2e 0d 43 6f 6e 76 65 72 |x number|..Conver|
|000008e0| 74 20 74 68 65 20 63 2d | 73 74 72 69 6e 67 20 74 |t the c-|string t|
|000008f0| 6f 20 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |o a numb|er of th|
|00000900| 65 20 64 65 73 69 67 6e | 61 74 65 64 20 62 61 73 |e design|ated bas|
|00000910| 65 2e 0d 43 6f 6e 76 65 | 72 74 20 61 20 63 2d 73 |e..Conve|rt a c-s|
|00000920| 74 72 69 6e 67 20 74 6f | 20 61 20 70 61 73 63 61 |tring to| a pasca|
|00000930| 6c 2d 73 74 72 69 6e 67 | 2e 0d a5 41 70 70 57 61 |l-string|...AppWa|
|00000940| 6e 6e 61 62 65 20 28 57 | 69 6e 64 6f 77 2e 63 29 |nnabe (W|indow.c)|
|00000950| 2e 20 20 43 61 6c 6c 65 | 64 20 62 79 20 66 72 61 |. Calle|d by fra|
|00000960| 6d 65 77 6f 72 6b 20 74 | 6f 20 63 61 6c 63 75 6c |mework t|o calcul|
|00000970| 61 74 65 20 74 68 65 20 | 66 72 61 6d 65 20 72 65 |ate the |frame re|
|00000980| 67 69 6f 6e 2e 0d 43 61 | 74 65 6e 61 74 65 20 74 |gion..Ca|tenate t|
|00000990| 77 6f 20 63 2d 73 74 72 | 69 6e 67 73 2e 0d 43 61 |wo c-str|ings..Ca|
|000009a0| 74 65 6e 61 74 65 20 61 | 20 73 69 6e 67 6c 65 20 |tenate a| single |
|000009b0| 63 68 61 72 61 63 74 65 | 72 20 6d 75 6c 74 69 70 |characte|r multip|
|000009c0| 6c 65 20 74 69 6d 65 73 | 20 6f 6e 74 6f 20 74 68 |le times| onto th|
|000009d0| 65 20 64 65 73 69 67 6e | 61 74 65 64 20 73 74 72 |e design|ated str|
|000009e0| 69 6e 67 2e 0d 43 6f 6e | 76 65 72 74 20 76 61 6c |ing..Con|vert val|
|000009f0| 75 65 20 69 6e 74 6f 20 | 62 61 73 65 2d 31 30 20 |ue into |base-10 |
|00000a00| 74 65 78 74 20 61 6e 64 | 20 63 61 74 65 6e 61 74 |text and| catenat|
|00000a10| 65 20 69 74 20 6f 6e 74 | 6f 20 74 68 65 20 73 74 |e it ont|o the st|
|00000a20| 72 69 6e 67 2e 0d 43 6f | 6e 76 65 72 74 20 76 61 |ring..Co|nvert va|
|00000a30| 6c 75 65 20 69 6e 74 6f | 20 62 61 73 65 2d 31 36 |lue into| base-16|
|00000a40| 20 74 65 78 74 20 61 6e | 64 20 63 61 74 65 6e 61 | text an|d catena|
|00000a50| 74 65 20 69 74 20 6f 6e | 74 6f 20 74 68 65 20 73 |te it on|to the s|
|00000a60| 74 72 69 6e 67 2c 20 77 | 69 74 68 20 6e 6f 20 70 |tring, w|ith no p|
|00000a70| 61 64 64 69 6e 67 2e 0d | 43 6f 6e 76 65 72 74 20 |adding..|Convert |
|00000a80| 76 61 6c 75 65 20 69 6e | 74 6f 20 64 65 73 69 67 |value in|to desig|
|00000a90| 6e 61 74 65 64 20 74 65 | 78 74 20 61 6e 64 20 63 |nated te|xt and c|
|00000aa0| 61 74 65 6e 61 74 65 20 | 69 74 20 6f 6e 74 6f 20 |atenate |it onto |
|00000ab0| 74 68 65 20 73 74 72 69 | 6e 67 2c 20 77 69 74 68 |the stri|ng, with|
|00000ac0| 20 6e 6f 20 70 61 64 64 | 69 6e 67 2e 0d 43 6f 6e | no padd|ing..Con|
|00000ad0| 76 65 72 74 20 76 61 6c | 75 65 20 69 6e 74 6f 20 |vert val|ue into |
|00000ae0| 62 61 73 65 2d 31 30 20 | 74 65 78 74 20 61 6e 64 |base-10 |text and|
|00000af0| 20 63 61 74 65 6e 61 74 | 65 20 69 74 20 6f 6e 74 | catenat|e it ont|
|00000b00| 6f 20 74 68 65 20 73 74 | 72 69 6e 67 2c 20 77 69 |o the st|ring, wi|
|00000b10| 74 68 20 70 61 64 64 69 | 6e 67 2e 0d 43 6f 6e 76 |th paddi|ng..Conv|
|00000b20| 65 72 74 20 76 61 6c 75 | 65 20 69 6e 74 6f 20 62 |ert valu|e into b|
|00000b30| 61 73 65 2d 31 36 20 74 | 65 78 74 20 61 6e 64 20 |ase-16 t|ext and |
|00000b40| 63 61 74 65 6e 61 74 65 | 20 69 74 20 6f 6e 74 6f |catenate| it onto|
|00000b50| 20 74 68 65 20 73 74 72 | 69 6e 67 2c 20 77 69 74 | the str|ing, wit|
|00000b60| 68 20 70 61 64 64 69 6e | 67 2e 0d 43 6f 6e 76 65 |h paddin|g..Conve|
|00000b70| 72 74 20 76 61 6c 75 65 | 20 69 6e 74 6f 20 64 65 |rt value| into de|
|00000b80| 73 69 67 6e 61 74 65 64 | 20 62 61 73 65 20 74 65 |signated| base te|
|00000b90| 78 74 20 61 6e 64 20 63 | 61 74 65 6e 61 74 65 20 |xt and c|atenate |
|00000ba0| 69 74 20 6f 6e 74 6f 20 | 74 68 65 20 73 74 72 69 |it onto |the stri|
|00000bb0| 6e 67 2c 20 77 69 74 68 | 20 70 61 64 64 69 6e 67 |ng, with| padding|
|00000bc0| 2e 0d 43 72 65 61 74 65 | 20 61 20 6e 65 77 20 27 |..Create| a new '|
|00000bd0| 63 69 63 6e 27 20 63 6f | 6e 74 72 6f 6c 2e 0d 49 |cicn' co|ntrol..I|
|00000be0| 74 65 72 61 74 65 20 74 | 6f 20 74 68 65 20 27 6e |terate t|o the 'n|
|00000bf0| 65 78 74 27 20 63 69 63 | 6e 20 63 6f 6e 74 72 6f |ext' cic|n contro|
|00000c00| 6c 2e 0d 43 6f 70 79 20 | 61 20 63 2d 73 74 72 69 |l..Copy |a c-stri|
|00000c10| 6e 67 2e 0d 43 6f 70 79 | 20 61 20 73 69 6e 67 6c |ng..Copy| a singl|
|00000c20| 65 20 63 68 61 72 61 63 | 74 65 72 20 6d 75 6c 74 |e charac|ter mult|
|00000c30| 69 70 6c 65 20 74 69 6d | 65 73 20 69 6e 74 6f 20 |iple tim|es into |
|00000c40| 74 68 65 20 64 65 73 69 | 67 6e 61 74 65 64 20 73 |the desi|gnated s|
|00000c50| 74 72 69 6e 67 2e 0d 43 | 6f 6e 76 65 72 74 20 76 |tring..C|onvert v|
|00000c60| 61 6c 75 65 20 69 6e 74 | 6f 20 62 61 73 65 2d 31 |alue int|o base-1|
|00000c70| 30 20 74 65 78 74 20 61 | 6e 64 20 63 6f 70 79 20 |0 text a|nd copy |
|00000c80| 69 74 20 69 6e 74 6f 20 | 74 68 65 20 73 74 72 69 |it into |the stri|
|00000c90| 6e 67 2e 0d 43 6f 6e 76 | 65 72 74 20 76 61 6c 75 |ng..Conv|ert valu|
|00000ca0| 65 20 69 6e 74 6f 20 62 | 61 73 65 2d 31 36 20 74 |e into b|ase-16 t|
|00000cb0| 65 78 74 20 61 6e 64 20 | 63 6f 70 79 20 69 74 20 |ext and |copy it |
|00000cc0| 69 6e 74 6f 20 74 68 65 | 20 73 74 72 69 6e 67 2c |into the| string,|
|00000cd0| 20 77 69 74 68 20 6e 6f | 20 70 61 64 64 69 6e 67 | with no| padding|
|00000ce0| 2e 0d 43 6f 6e 76 65 72 | 74 20 76 61 6c 75 65 20 |..Conver|t value |
|00000cf0| 69 6e 74 6f 20 64 65 73 | 69 67 6e 61 74 65 64 20 |into des|ignated |
|00000d00| 74 65 78 74 20 61 6e 64 | 20 63 6f 70 79 20 69 74 |text and| copy it|
|00000d10| 20 69 6e 74 6f 20 74 68 | 65 20 73 74 72 69 6e 67 | into th|e string|
|00000d20| 2c 20 77 69 74 68 20 6e | 6f 20 70 61 64 64 69 6e |, with n|o paddin|
|00000d30| 67 2e 0d 43 6f 6e 76 65 | 72 74 20 76 61 6c 75 65 |g..Conve|rt value|
|00000d40| 20 69 6e 74 6f 20 62 61 | 73 65 2d 31 30 20 74 65 | into ba|se-10 te|
|00000d50| 78 74 20 61 6e 64 20 63 | 6f 70 79 20 69 74 20 69 |xt and c|opy it i|
|00000d60| 6e 74 6f 20 74 68 65 20 | 73 74 72 69 6e 67 2c 20 |nto the |string, |
|00000d70| 77 69 74 68 20 70 61 64 | 64 69 6e 67 2e 0d 43 6f |with pad|ding..Co|
|00000d80| 6e 76 65 72 74 20 76 61 | 6c 75 65 20 69 6e 74 6f |nvert va|lue into|
|00000d90| 20 62 61 73 65 2d 31 36 | 20 74 65 78 74 20 61 6e | base-16| text an|
|00000da0| 64 20 63 6f 70 79 20 69 | 74 20 69 6e 74 6f 20 74 |d copy i|t into t|
|00000db0| 68 65 20 73 74 72 69 6e | 67 2c 20 77 69 74 68 20 |he strin|g, with |
|00000dc0| 70 61 64 64 69 6e 67 2e | 0d 43 6f 6e 76 65 72 74 |padding.|.Convert|
|00000dd0| 20 76 61 6c 75 65 20 69 | 6e 74 6f 20 64 65 73 69 | value i|nto desi|
|00000de0| 67 6e 61 74 65 64 20 62 | 61 73 65 20 74 65 78 74 |gnated b|ase text|
|00000df0| 20 61 6e 64 20 63 6f 70 | 79 20 69 74 20 69 6e 74 | and cop|y it int|
|00000e00| 6f 20 74 68 65 20 73 74 | 72 69 6e 67 2c 20 77 69 |o the st|ring, wi|
|00000e10| 74 68 20 70 61 64 64 69 | 6e 67 2e 0d 49 74 65 72 |th paddi|ng..Iter|
|00000e20| 61 74 65 20 74 6f 20 74 | 68 65 20 6e 65 78 74 20 |ate to t|he next |
|00000e30| 64 61 74 61 20 63 6f 6e | 74 72 6f 6c 2e 0d 43 65 |data con|trol..Ce|
|00000e40| 6e 74 65 72 20 74 68 65 | 20 61 6c 65 72 74 20 6f |nter the| alert o|
|00000e50| 6e 20 74 68 65 20 73 61 | 6d 65 20 64 65 76 69 63 |n the sa|me devic|
|00000e60| 65 20 61 73 20 74 68 65 | 20 72 65 6c 61 74 65 64 |e as the| related|
|00000e70| 20 77 69 6e 64 6f 77 2e | 0d 47 69 76 65 6e 20 74 | window.|.Given t|
|00000e80| 77 6f 20 72 65 63 74 61 | 6e 67 6c 65 73 2c 20 74 |wo recta|ngles, t|
|00000e90| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 63 65 6e 74 |his rout|ine cent|
|00000ea0| 65 72 73 20 74 68 65 20 | 73 65 63 6f 6e 64 20 6f |ers the |second o|
|00000eb0| 6e 65 20 77 69 74 68 69 | 6e 20 74 68 65 20 66 69 |ne withi|n the fi|
|00000ec0| 72 73 74 2e 0d 43 65 6e | 74 65 72 20 74 68 65 20 |rst..Cen|ter the |
|00000ed0| 77 69 6e 64 6f 77 20 6f | 6e 20 74 68 65 20 73 61 |window o|n the sa|
|00000ee0| 6d 65 20 64 65 76 69 63 | 65 20 61 73 20 74 68 65 |me devic|e as the|
|00000ef0| 20 72 65 6c 61 74 65 64 | 20 77 69 6e 64 6f 77 2e | related| window.|
|00000f00| 0d 43 68 61 6e 67 65 20 | 61 63 74 69 76 61 74 65 |.Change |activate|
|00000f10| 20 73 74 61 74 65 20 6f | 66 20 6c 69 73 74 20 63 | state o|f list c|
|00000f20| 6f 6e 74 72 6f 6c 20 74 | 6f 20 64 65 73 69 67 6e |ontrol t|o design|
|00000f30| 61 74 65 64 20 73 74 61 | 74 65 2e 0d 48 61 6e 64 |ated sta|te..Hand|
|00000f40| 6c 65 20 61 20 6d 6f 75 | 73 65 44 6f 77 6e 20 66 |le a mou|seDown f|
|00000f50| 6f 72 20 61 20 6c 69 73 | 74 20 63 6f 6e 74 72 6f |or a lis|t contro|
|00000f60| 6c 2e 0d 52 65 74 75 72 | 6e 20 4c 69 73 74 20 63 |l..Retur|n List c|
|00000f70| 6f 6e 74 72 6f 6c 20 74 | 68 61 74 20 77 61 73 20 |ontrol t|hat was |
|00000f80| 66 6f 75 6e 64 20 62 79 | 20 6c 61 73 74 20 63 61 |found by| last ca|
|00000f90| 6c 6c 20 74 6f 20 46 69 | 6e 64 43 6f 6e 74 72 6f |ll to Fi|ndContro|
|00000fa0| 6c 2e 0d 41 20 62 65 74 | 74 65 72 20 53 65 6e 64 |l..A bet|ter Send|
|00000fb0| 42 65 68 69 6e 64 2c 20 | 77 68 69 63 68 20 69 73 |Behind, |which is|
|00000fc0| 20 6e 65 65 64 65 64 20 | 66 6f 72 20 66 6c 6f 61 | needed |for floa|
|00000fd0| 74 69 6e 67 20 70 61 6c | 65 74 74 65 73 2c 20 65 |ting pal|ettes, e|
|00000fe0| 74 63 2e 0d 42 72 69 6e | 67 20 61 20 77 69 6e 64 |tc..Brin|g a wind|
|00000ff0| 6f 77 20 69 6e 20 66 72 | 6f 6e 74 20 6f 66 20 61 |ow in fr|ont of a|
|00001000| 6e 6f 74 68 65 72 2c 20 | 77 68 69 6c 65 20 68 61 |nother, |while ha|
|00001010| 6e 64 6c 69 6e 67 20 66 | 6c 6f 61 74 69 6e 67 20 |ndling f|loating |
|00001020| 70 61 6c 65 74 74 65 73 | 2c 20 65 74 63 2e 0d 52 |palettes|, etc..R|
|00001030| 65 74 75 72 6e 20 74 68 | 65 20 6c 65 6e 67 74 68 |eturn th|e length|
|00001040| 20 6f 66 20 74 68 65 20 | 63 2d 73 74 72 69 6e 67 | of the |c-string|
|00001050| 2e 0d 48 61 6e 64 6c 65 | 20 74 68 65 20 65 76 65 |..Handle| the eve|
|00001060| 6e 74 20 69 66 20 69 74 | 20 61 70 70 6c 69 65 73 |nt if it| applies|
|00001070| 20 74 6f 20 74 68 65 20 | 61 63 74 69 76 65 20 4c | to the |active L|
|00001080| 69 73 74 20 63 6f 6e 74 | 72 6f 6c 2e 0d 52 65 74 |ist cont|rol..Ret|
|00001090| 75 72 6e 73 20 74 68 65 | 20 61 63 74 69 76 65 20 |urns the| active |
|000010a0| 4c 69 73 74 20 63 6f 6e | 74 72 6f 6c 2c 20 69 66 |List con|trol, if|
|000010b0| 20 61 6e 79 2e 0d 53 65 | 65 20 69 66 20 61 20 4c | any..Se|e if a L|
|000010c0| 69 73 74 20 63 6f 6e 74 | 72 6f 6c 20 6f 72 20 72 |ist cont|rol or r|
|000010d0| 65 6c 61 74 65 64 20 73 | 63 72 6f 6c 6c 62 61 72 |elated s|crollbar|
|000010e0| 20 77 61 73 20 63 6c 69 | 63 6b 65 64 20 6f 6e 2e | was cli|cked on.|
|000010f0| 0d 46 69 6e 64 20 74 68 | 65 20 4c 69 73 74 20 72 |.Find th|e List r|
|00001100| 65 63 6f 72 64 20 74 68 | 61 74 20 69 73 20 72 65 |ecord th|at is re|
|00001110| 6c 61 74 65 64 20 74 6f | 20 74 68 65 20 69 6e 64 |lated to| the ind|
|00001120| 69 63 61 74 65 64 20 73 | 63 72 6f 6c 6c 62 61 72 |icated s|crollbar|
|00001130| 2e 0d 47 65 74 20 74 68 | 65 20 4e 74 68 20 4c 69 |..Get th|e Nth Li|
|00001140| 73 74 20 63 6f 6e 74 72 | 6f 6c 20 69 6e 20 74 68 |st contr|ol in th|
|00001150| 65 20 63 6f 6e 74 72 6f | 6c 20 6c 69 73 74 20 6f |e contro|l list o|
|00001160| 66 20 61 20 77 69 6e 64 | 6f 77 2e 0d 48 69 64 65 |f a wind|ow..Hide|
|00001170| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 61 6e 64 | the con|trol and|
|00001180| 20 72 65 6c 61 74 65 64 | 20 74 68 69 6e 67 73 2e | related| things.|
|00001190| 0d 49 6e 73 65 72 74 20 | 61 20 63 65 6c 6c 20 61 |.Insert |a cell a|
|000011a0| 6c 70 68 61 62 65 74 69 | 63 61 6c 6c 79 20 69 6e |lphabeti|cally in|
|000011b0| 74 6f 20 74 68 65 20 6c | 69 73 74 2e 0d 48 61 6e |to the l|ist..Han|
|000011c0| 64 6c 65 20 61 20 6b 65 | 79 70 72 65 73 73 20 66 |dle a ke|ypress f|
|000011d0| 6f 72 20 61 20 6c 69 73 | 74 20 63 6f 6e 74 72 6f |or a lis|t contro|
|000011e0| 6c 2e 0d 4d 6f 76 65 20 | 74 68 65 20 63 6f 6e 74 |l..Move |the cont|
|000011f0| 72 6f 6c 20 61 6e 64 20 | 72 65 6c 61 74 65 64 20 |rol and |related |
|00001200| 74 68 69 6e 67 73 2e 0d | 43 72 65 61 74 65 20 61 |things..|Create a|
|00001210| 20 4c 69 73 74 20 63 6f | 6e 74 72 6f 6c 20 66 6f | List co|ntrol fo|
|00001220| 72 20 74 68 65 20 77 69 | 6e 64 6f 77 2e 0d 47 65 |r the wi|ndow..Ge|
|00001230| 74 20 74 68 65 20 6e 65 | 78 74 20 4c 69 73 74 20 |t the ne|xt List |
|00001240| 63 6f 6e 74 72 6f 6c 20 | 69 6e 20 74 68 65 20 77 |control |in the w|
|00001250| 69 6e 64 6f 77 2e 0d 43 | 6c 6f 73 65 73 20 74 68 |indow..C|loses th|
|00001260| 65 20 69 6e 64 69 63 61 | 74 65 64 20 77 69 6e 64 |e indica|ted wind|
|00001270| 6f 77 2e 20 20 41 6c 73 | 6f 20 68 61 6e 64 6c 65 |ow. Als|o handle|
|00001280| 73 20 69 66 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |s if the| window |
|00001290| 69 73 20 61 20 44 41 20 | 77 69 6e 64 6f 77 2e 0d |is a DA |window..|
|000012a0| 43 6c 6f 73 65 20 64 6f | 63 75 6d 65 6e 74 20 72 |Close do|cument r|
|000012b0| 65 73 20 66 69 6c 65 2e | 0d 50 72 69 6e 74 20 4c |es file.|.Print L|
|000012c0| 69 73 74 20 43 6f 6e 74 | 72 6f 6c 20 63 65 6c 6c |ist Cont|rol cell|
|000012d0| 73 20 69 6e 74 6f 20 74 | 68 65 20 64 65 73 69 67 |s into t|he desig|
|000012e0| 6e 61 74 65 64 20 72 65 | 63 74 61 6e 67 6c 65 2e |nated re|ctangle.|
|000012f0| 0d 46 69 6e 64 20 74 68 | 65 20 6c 6f 63 61 74 69 |.Find th|e locati|
|00001300| 6f 6e 20 69 6e 20 74 68 | 65 20 6c 69 73 74 20 77 |on in th|e list w|
|00001310| 68 65 72 65 20 74 68 65 | 20 64 61 74 61 20 77 6f |here the| data wo|
|00001320| 75 6c 64 20 62 65 6c 6f | 6e 67 20 69 66 20 69 6e |uld belo|ng if in|
|00001330| 73 65 72 74 65 64 2e 0d | 53 68 6f 77 20 74 68 65 |serted..|Show the|
|00001340| 20 63 6f 6e 74 72 6f 6c | 20 61 6e 64 20 72 65 6c | control| and rel|
|00001350| 61 74 65 64 20 74 68 69 | 6e 67 73 2e 0d 52 65 73 |ated thi|ngs..Res|
|00001360| 69 7a 65 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 |ize the |control |
|00001370| 61 6e 64 20 72 65 6c 61 | 74 65 64 20 74 68 69 6e |and rela|ted thin|
|00001380| 67 73 2e 0d 44 72 61 77 | 20 74 68 65 20 4c 69 73 |gs..Draw| the Lis|
|00001390| 74 20 63 6f 6e 74 72 6f | 6c 20 69 6e 20 74 68 65 |t contro|l in the|
|000013a0| 20 63 6f 72 72 65 63 74 | 20 6d 6f 64 65 2e 0d 41 | correct| mode..A|
|000013b0| 64 64 20 61 20 63 6f 6c | 75 6d 6e 20 74 6f 20 61 |dd a col|umn to a|
|000013c0| 20 76 61 72 69 61 62 6c | 65 2d 73 69 7a 65 20 63 | variabl|e-size c|
|000013d0| 65 6c 6c 2e 0d 41 64 64 | 20 61 20 72 6f 77 20 74 |ell..Add| a row t|
|000013e0| 6f 20 61 20 76 61 72 69 | 61 62 6c 65 2d 73 69 7a |o a vari|able-siz|
|000013f0| 65 20 63 65 6c 6c 2e 0d | 41 64 6a 75 73 74 20 74 |e cell..|Adjust t|
|00001400| 68 65 20 73 63 72 6f 6c | 6c 62 61 72 73 20 74 6f |he scrol|lbars to|
|00001410| 20 72 65 66 6c 65 63 74 | 20 6e 65 77 20 6c 69 73 | reflect| new lis|
|00001420| 74 20 73 69 7a 65 2e 0d | 43 61 6c 6c 73 20 74 68 |t size..|Calls th|
|00001430| 65 20 76 61 72 69 61 62 | 6c 65 2d 63 65 6c 6c 2d |e variab|le-cell-|
|00001440| 73 69 7a 65 20 6c 69 73 | 74 27 73 20 4c 44 45 46 |size lis|t's LDEF|
|00001450| 2e 0d 48 61 6e 64 6c 65 | 20 61 20 6d 6f 75 73 65 |..Handle| a mouse|
|00001460| 44 6f 77 6e 20 66 6f 72 | 20 61 20 76 61 72 69 61 |Down for| a varia|
|00001470| 62 6c 65 2d 63 65 6c 6c | 2d 73 69 7a 65 20 6c 69 |ble-cell|-size li|
|00001480| 73 74 20 63 6f 6e 74 72 | 6f 6c 2e 0d 44 72 61 77 |st contr|ol..Draw|
|00001490| 20 61 20 73 69 6e 67 6c | 65 20 76 61 72 69 61 62 | a singl|e variab|
|000014a0| 6c 65 2d 73 69 7a 65 20 | 63 65 6c 6c 2e 0d 47 69 |le-size |cell..Gi|
|000014b0| 76 65 6e 20 61 20 6d 6f | 75 73 65 20 6c 6f 63 61 |ven a mo|use loca|
|000014c0| 74 69 6f 6e 2c 20 66 69 | 6e 64 20 74 68 65 20 63 |tion, fi|nd the c|
|000014d0| 65 6c 6c 20 74 68 61 74 | 20 63 6f 6e 74 61 69 6e |ell that| contain|
|000014e0| 73 20 69 74 2e 0d 47 65 | 74 20 70 6c 65 6e 74 79 |s it..Ge|t plenty|
|000014f0| 20 6f 66 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 | of info|rmation |
|00001500| 6f 6e 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |on a par|ticular |
|00001510| 63 65 6c 6c 2e 0d 47 69 | 76 65 6e 20 61 20 63 65 |cell..Gi|ven a ce|
|00001520| 6c 6c 20 78 78 2c 79 79 | 2c 20 72 65 74 75 72 6e |ll xx,yy|, return|
|00001530| 20 69 74 73 20 62 6f 75 | 6e 64 69 6e 67 20 72 65 | its bou|nding re|
|00001540| 63 74 2e 0d 47 65 74 20 | 74 68 65 20 62 6f 75 6e |ct..Get |the boun|
|00001550| 64 69 6e 67 20 72 65 63 | 74 20 6f 66 20 74 68 65 |ding rec|t of the|
|00001560| 20 63 65 6c 6c 73 20 76 | 69 73 69 62 6c 65 20 77 | cells v|isible w|
|00001570| 69 74 68 69 6e 20 74 68 | 65 20 43 6f 6e 74 72 6f |ithin th|e Contro|
|00001580| 6c 27 73 20 76 69 65 77 | 20 72 65 63 74 2e 0d 47 |l's view| rect..G|
|00001590| 69 76 65 6e 20 61 20 6c | 69 73 74 2c 20 72 65 74 |iven a l|ist, ret|
|000015a0| 75 72 6e 20 74 68 65 20 | 72 65 6c 61 74 65 64 20 |urn the |related |
|000015b0| 77 72 61 70 70 65 72 20 | 63 6f 6e 74 72 6f 6c 2e |wrapper |control.|
|000015c0| 0d 49 6e 69 74 69 61 6c | 69 7a 65 20 76 61 72 69 |.Initial|ize vari|
|000015d0| 61 62 6c 65 2d 73 69 7a | 65 64 20 63 65 6c 6c 73 |able-siz|ed cells|
|000015e0| 20 4c 69 73 74 20 63 6f | 6e 74 72 6f 6c 20 63 6f | List co|ntrol co|
|000015f0| 64 65 2e 0d 53 65 74 20 | 74 68 65 20 73 65 6c 65 |de..Set |the sele|
|00001600| 63 74 20 73 74 61 74 65 | 20 66 6f 72 20 61 20 76 |ct state| for a v|
|00001610| 61 72 69 61 62 6c 65 2d | 73 69 7a 65 20 63 65 6c |ariable-|size cel|
|00001620| 6c 2e 0d 44 72 61 77 20 | 74 68 65 20 76 61 72 69 |l..Draw |the vari|
|00001630| 61 62 6c 65 2d 63 65 6c | 6c 2d 73 69 7a 65 20 6c |able-cel|l-size l|
|00001640| 69 73 74 20 63 6f 6e 74 | 72 6f 6c 20 69 6e 20 74 |ist cont|rol in t|
|00001650| 68 65 20 63 6f 72 72 65 | 63 74 20 6d 6f 64 65 2e |he corre|ct mode.|
|00001660| 0d 43 6f 6e 76 65 72 74 | 20 61 20 4c 69 73 74 20 |.Convert| a List |
|00001670| 63 6f 6e 74 72 6f 6c 20 | 74 6f 20 6f 6e 65 20 74 |control |to one t|
|00001680| 68 61 74 20 68 61 73 20 | 76 61 72 69 61 62 6c 65 |hat has |variable|
|00001690| 20 73 69 7a 65 20 72 6f | 77 73 20 61 6e 64 20 63 | size ro|ws and c|
|000016a0| 6f 6c 75 6d 6e 73 2e 0d | 47 69 76 65 6e 20 61 20 |olumns..|Given a |
|000016b0| 6c 69 73 74 2c 20 72 65 | 74 75 72 6e 20 74 68 65 |list, re|turn the|
|000016c0| 20 72 65 6c 61 74 65 64 | 20 77 72 61 70 70 65 72 | related| wrapper|
|000016d0| 20 63 6f 6e 74 72 6f 6c | 2e 0d 43 6f 6e 76 65 72 | control|..Conver|
|000016e0| 74 20 61 20 63 6f 6e 74 | 72 6f 6c 20 6e 75 6d 62 |t a cont|rol numb|
|000016f0| 65 72 20 74 6f 20 61 20 | 63 6f 6e 74 72 6f 6c 20 |er to a |control |
|00001700| 68 61 6e 64 6c 65 2e 0d | a5 41 70 70 57 61 6e 6e |handle..|.AppWann|
|00001710| 61 62 65 20 28 57 69 6e | 64 6f 77 2e 63 29 2e 20 |abe (Win|dow.c). |
|00001720| 20 43 61 6c 6c 65 64 20 | 62 79 20 66 72 61 6d 65 | Called |by frame|
|00001730| 77 6f 72 6b 20 74 6f 20 | 6c 65 74 20 61 70 70 20 |work to |let app |
|00001740| 68 61 6e 64 6c 65 20 63 | 6f 6e 74 65 6e 74 20 63 |handle c|ontent c|
|00001750| 6c 69 63 6b 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |lick...A|ppWannab|
|00001760| 65 20 28 57 69 6e 64 6f | 77 2e 63 29 2e 20 20 43 |e (Windo|w.c). C|
|00001770| 61 6c 6c 65 64 20 62 79 | 20 66 72 61 6d 65 77 6f |alled by| framewo|
|00001780| 72 6b 20 74 6f 20 6c 65 | 74 20 61 70 70 20 68 61 |rk to le|t app ha|
|00001790| 6e 64 6c 65 20 6b 65 79 | 70 72 65 73 73 2e 0d 48 |ndle key|press..H|
|000017a0| 61 6e 64 6c 65 20 62 61 | 6c 6c 6f 6f 6e 20 68 65 |andle ba|lloon he|
|000017b0| 6c 70 20 66 6f 72 20 63 | 6f 6e 74 72 6f 6c 73 2e |lp for c|ontrols.|
|000017c0| 0d 47 65 74 20 74 68 65 | 20 62 61 6c 6c 6f 6f 6e |.Get the| balloon|
|000017d0| 20 68 65 6c 70 20 72 65 | 63 6f 72 64 20 66 6f 72 | help re|cord for|
|000017e0| 20 61 20 63 6f 6e 74 72 | 6f 6c 2e 0d 44 65 74 65 | a contr|ol..Dete|
|000017f0| 72 6d 69 6e 65 20 69 66 | 20 61 20 6b 65 79 70 72 |rmine if| a keypr|
|00001800| 65 73 73 20 69 73 20 61 | 20 6b 65 79 20 65 71 75 |ess is a| key equ|
|00001810| 69 76 61 6c 65 6e 74 20 | 66 6f 72 20 61 6e 79 20 |ivalent |for any |
|00001820| 63 6f 6e 74 72 6f 6c 20 | 69 6e 20 74 68 65 20 77 |control |in the w|
|00001830| 69 6e 64 6f 77 2e 0d 43 | 6f 6e 76 65 72 74 20 70 |indow..C|onvert p|
|00001840| 72 65 2d 73 79 73 74 65 | 6d 2d 37 20 73 74 61 6e |re-syste|m-7 stan|
|00001850| 64 61 72 64 20 66 69 6c | 65 20 72 65 63 6f 72 64 |dard fil|e record|
|00001860| 20 74 6f 20 61 20 73 79 | 73 74 65 6d 2d 37 20 72 | to a sy|stem-7 r|
|00001870| 65 63 6f 72 64 2e 0d 43 | 6f 70 69 65 73 20 73 70 |ecord..C|opies sp|
|00001880| 65 63 69 66 69 65 64 20 | 63 68 69 6c 64 20 28 61 |ecified |child (a|
|00001890| 6e 64 20 61 6c 6c 20 6f | 66 66 73 70 72 69 6e 67 |nd all o|ffspring|
|000018a0| 20 6f 66 20 74 68 61 74 | 20 63 68 69 6c 64 2c 20 | of that| child, |
|000018b0| 69 66 20 64 65 73 69 72 | 65 64 29 2e 0d 43 6f 70 |if desir|ed)..Cop|
|000018c0| 79 20 74 68 65 20 63 68 | 69 6c 64 72 65 6e 20 28 |y the ch|ildren (|
|000018d0| 61 6e 64 20 74 68 65 69 | 72 20 63 68 69 6c 64 72 |and thei|r childr|
|000018e0| 65 6e 29 20 6f 66 20 6f | 6e 65 20 6f 62 6a 65 63 |en) of o|ne objec|
|000018f0| 74 20 74 6f 20 61 6e 6f | 74 68 65 72 2e 0d 52 65 |t to ano|ther..Re|
|00001900| 74 75 72 6e 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |turn the| number |
|00001910| 6f 66 20 6d 65 6e 75 20 | 73 65 63 74 69 6f 6e 73 |of menu |sections|
|00001920| 20 69 6e 20 61 20 6d 65 | 6e 75 2e 0d 43 72 65 61 | in a me|nu..Crea|
|00001930| 74 65 20 61 20 6e 65 77 | 20 27 50 49 43 54 27 20 |te a new| 'PICT' |
|00001940| 63 6f 6e 74 72 6f 6c 2e | 0d 49 74 65 72 61 74 65 |control.|.Iterate|
|00001950| 20 74 6f 20 74 68 65 20 | 27 6e 65 78 74 27 20 50 | to the |'next' P|
|00001960| 49 43 54 20 63 6f 6e 74 | 72 6f 6c 2e 0d 41 63 74 |ICT cont|rol..Act|
|00001970| 69 76 61 74 65 20 74 68 | 65 20 69 6e 64 69 63 61 |ivate th|e indica|
|00001980| 74 65 64 20 54 65 78 74 | 45 64 69 74 20 72 65 63 |ted Text|Edit rec|
|00001990| 6f 72 64 20 28 61 6e 64 | 20 64 65 61 63 74 69 76 |ord (and| deactiv|
|000019a0| 61 74 65 20 61 6e 79 20 | 6f 74 68 65 72 20 61 63 |ate any |other ac|
|000019b0| 74 69 76 65 20 6f 6e 65 | 29 2e 0d 41 64 6a 75 73 |tive one|)..Adjus|
|000019c0| 74 20 74 68 65 20 73 63 | 72 6f 6c 6c 62 61 72 20 |t the sc|rollbar |
|000019d0| 76 61 6c 75 65 73 20 74 | 6f 20 74 68 65 20 54 65 |values t|o the Te|
|000019e0| 78 74 45 64 69 74 20 6c | 65 6e 67 74 68 20 61 6e |xtEdit l|ength an|
|000019f0| 64 20 73 63 72 6f 6c 6c | 20 70 6f 73 69 74 69 6f |d scroll| positio|
|00001a00| 6e 2e 0d 41 64 6a 75 73 | 74 20 74 68 65 20 62 6f |n..Adjus|t the bo|
|00001a10| 74 74 6f 6d 20 6f 66 20 | 74 68 65 20 54 65 78 74 |ttom of |the Text|
|00001a20| 45 64 69 74 20 72 65 63 | 6f 72 64 20 74 6f 20 72 |Edit rec|ord to r|
|00001a30| 65 6d 6f 76 65 20 65 78 | 74 72 61 20 77 68 69 74 |emove ex|tra whit|
|00001a40| 65 20 73 70 61 63 65 2e | 0d 48 61 6e 64 6c 65 73 |e space.|.Handles|
|00001a50| 20 61 20 6d 6f 75 73 65 | 44 6f 77 6e 20 69 6e 20 | a mouse|Down in |
|00001a60| 74 68 65 20 63 6f 6e 74 | 65 6e 74 20 6f 66 20 61 |the cont|ent of a|
|00001a70| 20 77 69 6e 64 6f 77 2e | 0d 55 74 69 6c 69 74 79 | window.|.Utility|
|00001a80| 20 66 75 6e 63 74 69 6f | 6e 20 66 6f 72 20 54 65 | functio|n for Te|
|00001a90| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2e 0d |xtEdit c|ontrol..|
|00001aa0| 48 61 6e 64 6c 65 73 20 | 63 75 74 2d 63 6f 70 79 |Handles |cut-copy|
|00001ab0| 2d 70 61 73 74 65 2d 63 | 6c 65 61 72 20 66 6f 72 |-paste-c|lear for|
|00001ac0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 6c 79 20 61 | the cur|rently a|
|00001ad0| 63 74 69 76 65 20 54 65 | 78 74 45 64 69 74 20 63 |ctive Te|xtEdit c|
|00001ae0| 6f 6e 74 72 6f 6c 2e 0d | 54 68 69 73 20 69 73 20 |ontrol..|This is |
|00001af0| 61 6e 20 65 6d 70 74 79 | 20 66 75 6e 63 74 69 6f |an empty| functio|
|00001b00| 6e 2c 20 75 73 65 64 20 | 66 6f 72 20 62 61 63 6b |n, used |for back|
|00001b10| 77 61 72 64 2d 63 6f 6d | 70 61 74 69 62 69 6c 69 |ward-com|patibili|
|00001b20| 74 79 2e 0d 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ty..Retu|rns the |
|00001b30| 63 6f 6e 74 72 6f 6c 20 | 74 68 61 74 20 77 61 73 |control |that was|
|00001b40| 20 68 69 74 20 28 69 66 | 20 61 6e 79 29 20 62 79 | hit (if| any) by|
|00001b50| 20 46 69 6e 64 43 6f 6e | 74 72 6f 6c 2e 0d 44 69 | FindCon|trol..Di|
|00001b60| 73 70 6f 73 65 73 20 74 | 68 65 20 54 45 52 65 63 |sposes t|he TERec|
|00001b70| 6f 72 64 2c 20 54 65 78 | 74 45 64 69 74 20 63 6f |ord, Tex|tEdit co|
|00001b80| 6e 74 72 6f 6c 2c 20 61 | 6e 64 20 61 6e 79 20 72 |ntrol, a|nd any r|
|00001b90| 65 6c 61 74 65 64 20 73 | 63 72 6f 6c 6c 62 61 72 |elated s|crollbar|
|00001ba0| 73 2e 0d 44 69 73 70 6f | 73 65 20 74 68 65 20 76 |s..Dispo|se the v|
|00001bb0| 69 65 77 20 63 6f 6e 74 | 72 6f 6c 20 61 6e 64 20 |iew cont|rol and |
|00001bc0| 72 65 6c 61 74 65 64 20 | 73 63 72 6f 6c 6c 62 61 |related |scrollba|
|00001bd0| 72 73 2c 20 62 75 74 20 | 6e 6f 74 20 74 68 65 20 |rs, but |not the |
|00001be0| 54 45 52 65 63 6f 72 64 | 2e 0d 52 65 74 75 72 6e |TERecord|..Return|
|00001bf0| 73 20 74 68 65 20 66 75 | 6c 6c 20 64 6f 63 75 6d |s the fu|ll docum|
|00001c00| 65 6e 74 20 68 65 69 67 | 68 74 2e 0d 48 61 6e 64 |ent heig|ht..Hand|
|00001c10| 6c 65 20 74 68 65 20 65 | 6e 61 62 6c 69 6e 67 20 |le the e|nabling |
|00001c20| 61 6e 64 20 64 69 73 61 | 62 6c 69 6e 67 20 6f 66 |and disa|bling of|
|00001c30| 20 74 68 65 20 45 64 69 | 74 20 6d 65 6e 75 2c 20 | the Edi|t menu, |
|00001c40| 62 61 73 65 64 20 6f 6e | 20 74 68 65 20 61 63 74 |based on| the act|
|00001c50| 69 76 65 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |ive Text|Edit con|
|00001c60| 74 72 6f 6c 2e 0d 48 61 | 6e 64 6c 65 20 74 68 65 |trol..Ha|ndle the|
|00001c70| 20 65 76 65 6e 74 2c 20 | 65 69 74 68 65 72 20 6d | event, |either m|
|00001c80| 6f 75 73 65 44 6f 77 6e | 20 6f 72 20 6b 65 79 20 |ouseDown| or key |
|00001c90| 65 76 65 6e 74 2e 0d 53 | 65 65 20 69 66 20 74 68 |event..S|ee if th|
|00001ca0| 65 72 65 20 69 73 20 61 | 6e 20 61 63 74 69 76 65 |ere is a|n active|
|00001cb0| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|00001cc0| 6c 20 66 6f 72 20 74 68 | 69 73 20 77 69 6e 64 6f |l for th|is windo|
|00001cd0| 77 2e 0d 53 65 65 20 69 | 66 20 61 20 54 65 78 74 |w..See i|f a Text|
|00001ce0| 45 64 69 74 20 63 6f 6e | 74 72 6f 6c 20 77 61 73 |Edit con|trol was|
|00001cf0| 20 63 6c 69 63 6b 65 64 | 20 6f 6e 20 64 69 72 65 | clicked| on dire|
|00001d00| 63 74 6c 79 2e 0d 46 69 | 6e 64 20 74 68 65 20 54 |ctly..Fi|nd the T|
|00001d10| 65 78 74 45 64 69 74 20 | 72 65 63 6f 72 64 20 74 |extEdit |record t|
|00001d20| 68 61 74 20 69 73 20 72 | 65 6c 61 74 65 64 20 74 |hat is r|elated t|
|00001d30| 6f 20 74 68 65 20 69 6e | 64 69 63 61 74 65 64 20 |o the in|dicated |
|00001d40| 73 63 72 6f 6c 6c 62 61 | 72 2e 0d 47 65 74 20 74 |scrollba|r..Get t|
|00001d50| 68 65 20 73 74 79 6c 65 | 20 73 63 72 61 70 20 66 |he style| scrap f|
|00001d60| 6f 72 20 74 68 65 20 65 | 6e 74 69 72 65 20 54 65 |or the e|ntire Te|
|00001d70| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2e 0d |xtEdit c|ontrol..|
|00001d80| 52 65 74 75 72 6e 20 74 | 68 65 20 6c 69 6e 65 20 |Return t|he line |
|00001d90| 68 65 69 67 68 74 20 6f | 66 20 74 68 65 20 72 65 |height o|f the re|
|00001da0| 71 75 65 73 74 65 64 20 | 6c 69 6e 65 20 6e 75 6d |quested |line num|
|00001db0| 62 65 72 2e 0d 52 65 74 | 75 72 6e 20 74 68 65 20 |ber..Ret|urn the |
|00001dc0| 6c 69 6e 65 20 6e 75 6d | 62 65 72 20 61 73 73 6f |line num|ber asso|
|00001dd0| 63 69 61 74 65 64 20 77 | 69 74 68 20 74 68 65 20 |ciated w|ith the |
|00001de0| 6f 66 66 73 65 74 20 70 | 61 73 73 65 64 20 69 6e |offset p|assed in|
|00001df0| 2e 0d 52 65 74 75 72 6e | 20 74 68 65 20 54 65 78 |..Return| the Tex|
|00001e00| 74 45 64 69 74 20 63 6f | 6e 74 72 6f 6c 20 74 65 |tEdit co|ntrol te|
|00001e10| 78 74 20 61 73 20 61 20 | 70 61 73 63 61 6c 20 73 |xt as a |pascal s|
|00001e20| 74 72 69 6e 67 2e 0d 48 | 69 64 65 20 74 68 65 20 |tring..H|ide the |
|00001e30| 64 65 73 69 67 6e 61 74 | 65 64 20 54 65 78 74 45 |designat|ed TextE|
|00001e40| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 20 61 6e 64 20 |dit cont|rol and |
|00001e50| 72 65 6c 61 74 65 64 20 | 73 63 72 6f 6c 6c 62 61 |related |scrollba|
|00001e60| 72 73 2e 0d 42 6c 69 6e | 6b 20 74 68 65 20 63 61 |rs..Blin|k the ca|
|00001e70| 72 65 74 20 69 6e 20 74 | 68 65 20 61 63 74 69 76 |ret in t|he activ|
|00001e80| 65 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |e TextEd|it contr|
|00001e90| 6f 6c 2e 0d 44 6f 65 73 | 20 6b 65 79 70 72 65 73 |ol..Does| keypres|
|00001ea0| 73 20 61 70 70 6c 79 20 | 74 6f 20 54 65 78 74 45 |s apply |to TextE|
|00001eb0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 3f 20 20 49 66 |dit cont|rol? If|
|00001ec0| 20 73 6f 2c 20 68 61 6e | 64 6c 65 20 69 74 20 61 | so, han|dle it a|
|00001ed0| 6e 64 20 72 65 74 75 72 | 6e 20 6e 6f 6e 2d 7a 65 |nd retur|n non-ze|
|00001ee0| 72 6f 2e 0d 4d 6f 76 65 | 20 74 68 65 20 64 65 73 |ro..Move| the des|
|00001ef0| 69 67 6e 61 74 65 64 20 | 54 65 78 74 45 64 69 74 |ignated |TextEdit|
|00001f00| 20 63 6f 6e 74 72 6f 6c | 20 61 6e 64 20 72 65 6c | control| and rel|
|00001f10| 61 74 65 64 20 73 63 72 | 6f 6c 6c 62 61 72 73 2e |ated scr|ollbars.|
|00001f20| 0d 43 72 65 61 74 65 20 | 61 20 6e 65 77 20 54 65 |.Create |a new Te|
|00001f30| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2e 0d |xtEdit c|ontrol..|
|00001f40| 52 65 67 69 73 74 65 72 | 20 61 20 6e 65 77 20 75 |Register| a new u|
|00001f50| 6e 64 6f 20 66 6f 72 20 | 74 68 65 20 6e 65 78 74 |ndo for |the next|
|00001f60| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|00001f70| 6c 20 65 64 69 74 69 6e | 67 20 6f 70 65 72 61 74 |l editin|g operat|
|00001f80| 69 6f 6e 2e 0d 49 6e 74 | 65 72 61 74 65 20 74 6f |ion..Int|erate to|
|00001f90| 20 74 68 65 20 6e 65 78 | 74 20 54 65 78 74 45 64 | the nex|t TextEd|
|00001fa0| 69 74 20 63 6f 6e 74 72 | 6f 6c 2e 0d 47 65 74 20 |it contr|ol..Get |
|00001fb0| 63 6f 72 72 65 63 74 20 | 6e 75 6d 62 65 72 20 6f |correct |number o|
|00001fc0| 66 20 6c 69 6e 65 20 69 | 6e 20 74 68 65 20 54 65 |f line i|n the Te|
|00001fd0| 78 74 45 64 69 74 20 68 | 61 6e 64 6c 65 2e 0d 47 |xtEdit h|andle..G|
|00001fe0| 65 74 20 63 6f 72 72 65 | 63 74 20 6e 75 6d 62 65 |et corre|ct numbe|
|00001ff0| 72 20 6f 66 20 6c 69 6e | 65 20 69 6e 20 74 68 65 |r of lin|e in the|
|00002000| 20 54 65 78 74 45 64 69 | 74 20 68 61 6e 64 6c 65 | TextEdi|t handle|
|00002010| 2e 0d 53 65 74 20 74 68 | 65 20 54 65 78 74 45 64 |..Set th|e TextEd|
|00002020| 69 74 20 63 6f 6e 74 72 | 6f 6c 20 74 65 78 74 20 |it contr|ol text |
|00002030| 74 6f 20 61 20 70 61 73 | 63 61 6c 20 73 74 72 69 |to a pas|cal stri|
|00002040| 6e 67 2e 0d 52 65 74 75 | 72 6e 20 69 66 20 74 68 |ng..Retu|rn if th|
|00002050| 65 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |e TextEd|it contr|
|00002060| 6f 6c 20 69 73 20 72 65 | 61 64 2d 77 72 69 74 65 |ol is re|ad-write|
|00002070| 20 28 74 72 75 65 29 20 | 6f 72 20 72 65 61 64 2d | (true) |or read-|
|00002080| 6f 6e 6c 79 20 28 66 61 | 6c 73 65 29 2e 0d 52 65 |only (fa|lse)..Re|
|00002090| 74 75 72 6e 20 63 6f 6e | 74 72 6f 6c 20 68 61 6e |turn con|trol han|
|000020a0| 64 6c 65 20 6f 66 20 73 | 63 72 6f 6c 6c 62 61 72 |dle of s|crollbar|
|000020b0| 20 72 65 6c 61 74 65 64 | 20 74 6f 20 74 68 65 20 | related| to the |
|000020c0| 54 65 78 74 45 64 69 74 | 20 72 65 63 6f 72 64 2e |TextEdit| record.|
|000020d0| 0d 52 65 74 75 72 6e 20 | 63 6f 6e 74 72 6f 6c 20 |.Return |control |
|000020e0| 68 61 6e 64 6c 65 20 6f | 66 20 73 63 72 6f 6c 6c |handle o|f scroll|
|000020f0| 62 61 72 20 72 65 6c 61 | 74 65 64 20 74 6f 20 74 |bar rela|ted to t|
|00002100| 68 65 20 54 65 78 74 45 | 64 69 74 20 63 6f 6e 74 |he TextE|dit cont|
|00002110| 72 6f 6c 2e 0d 53 65 74 | 20 54 65 78 74 45 64 69 |rol..Set| TextEdi|
|00002120| 74 20 68 61 6e 64 6c 65 | 20 74 6f 20 61 63 63 65 |t handle| to acce|
|00002130| 70 74 20 6b 65 79 73 20 | 22 66 61 73 74 22 2c 20 |pt keys |"fast", |
|00002140| 69 2e 65 2e 2c 20 69 6e | 20 61 20 6c 6f 63 61 6c |i.e., in| a local|
|00002150| 20 6c 6f 6f 70 2e 0d 53 | 65 74 20 54 65 78 74 45 | loop..S|et TextE|
|00002160| 64 69 74 20 68 61 6e 64 | 6c 65 20 74 6f 20 62 65 |dit hand|le to be|
|00002170| 20 66 69 6c 74 65 72 65 | 64 2e 0d 53 65 74 20 74 | filtere|d..Set t|
|00002180| 68 65 20 54 65 78 74 45 | 64 69 74 20 63 6f 6e 74 |he TextE|dit cont|
|00002190| 72 6f 6c 20 74 65 78 74 | 20 74 6f 20 61 20 70 61 |rol text| to a pa|
|000021a0| 73 63 61 6c 20 73 74 72 | 69 6e 67 2e 0d 53 65 74 |scal str|ing..Set|
|000021b0| 20 61 20 72 61 6e 67 65 | 20 6f 66 20 74 65 78 74 | a range| of text|
|000021c0| 2e 20 20 55 73 65 20 74 | 68 69 73 20 69 6e 73 74 |. Use t|his inst|
|000021d0| 65 61 64 20 6f 66 20 54 | 45 53 65 74 53 65 6c 65 |ead of T|ESetSele|
|000021e0| 63 74 2e 0d 41 70 70 6c | 79 20 74 68 65 20 73 74 |ct..Appl|y the st|
|000021f0| 79 6c 65 20 73 63 72 61 | 70 20 74 6f 20 74 68 65 |yle scra|p to the|
|00002200| 20 54 65 78 74 45 64 69 | 74 20 72 65 63 6f 72 64 | TextEdi|t record|
|00002210| 2e 0d 55 6e 68 69 64 65 | 20 61 20 68 69 64 64 65 |..Unhide| a hidde|
|00002220| 6e 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |n TextEd|it contr|
|00002230| 6f 6c 2e 0d 43 68 61 6e | 67 65 20 74 68 65 20 73 |ol..Chan|ge the s|
|00002240| 69 7a 65 20 6f 66 20 61 | 20 54 65 78 74 45 64 69 |ize of a| TextEdi|
|00002250| 74 20 63 6f 6e 74 72 6f | 6c 20 61 6e 64 20 72 65 |t contro|l and re|
|00002260| 6c 61 74 65 64 20 73 63 | 72 6f 6c 6c 62 61 72 73 |lated sc|rollbars|
|00002270| 2e 0d 43 68 61 6e 67 65 | 20 74 68 65 20 73 69 7a |..Change| the siz|
|00002280| 65 20 6f 66 20 61 20 54 | 65 78 74 45 64 69 74 20 |e of a T|extEdit |
|00002290| 63 6f 6e 74 72 6f 6c 20 | 61 6e 64 20 72 65 6c 61 |control |and rela|
|000022a0| 74 65 64 20 73 63 72 6f | 6c 6c 62 61 72 73 2e 0d |ted scro|llbars..|
|000022b0| 47 65 74 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |Get info|rmation |
|000022c0| 61 62 6f 75 74 20 74 68 | 65 20 74 61 72 67 65 74 |about th|e target|
|000022d0| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|000022e0| 6c 2e 0d 50 65 72 66 6f | 72 6d 20 61 6e 20 75 6e |l..Perfo|rm an un|
|000022f0| 64 6f 20 66 75 6e 63 74 | 69 6f 6e 20 66 6f 72 20 |do funct|ion for |
|00002300| 74 68 65 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |the Text|Edit con|
|00002310| 74 72 6f 6c 2e 0d 44 72 | 61 77 20 74 68 65 20 54 |trol..Dr|aw the T|
|00002320| 65 78 74 45 64 69 74 20 | 63 6f 6e 74 72 6f 6c 20 |extEdit |control |
|00002330| 61 6e 64 20 66 72 61 6d | 65 2e 0d 53 65 74 20 74 |and fram|e..Set t|
|00002340| 68 65 20 54 65 78 74 45 | 64 69 74 20 63 6f 6e 74 |he TextE|dit cont|
|00002350| 72 6f 6c 20 74 6f 20 75 | 73 65 20 54 53 4d 54 45 |rol to u|se TSMTE|
|00002360| 2e 0d 47 65 74 20 74 68 | 65 20 63 6f 6e 74 72 6f |..Get th|e contro|
|00002370| 6c 20 68 61 6e 64 6c 65 | 2c 20 67 69 76 65 20 74 |l handle|, give t|
|00002380| 68 65 20 54 65 78 74 45 | 64 69 74 20 72 65 63 6f |he TextE|dit reco|
|00002390| 72 64 2e 0d 41 63 74 69 | 76 61 74 65 20 74 68 65 |rd..Acti|vate the|
|000023a0| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|000023b0| 6c 20 66 6f 72 20 74 68 | 65 20 61 63 74 69 76 61 |l for th|e activa|
|000023c0| 74 69 6e 67 20 77 69 6e | 64 6f 77 2e 0d 43 6f 6e |ting win|dow..Con|
|000023d0| 76 65 72 74 20 61 20 63 | 6f 6e 74 72 6f 6c 20 68 |vert a c|ontrol h|
|000023e0| 61 6e 64 6c 65 20 74 6f | 20 61 20 63 6f 6e 74 72 |andle to| a contr|
|000023f0| 6f 6c 20 6e 75 6d 62 65 | 72 2e 0d 46 69 6e 64 20 |ol numbe|r..Find |
|00002400| 6f 75 74 20 69 66 20 72 | 65 73 6f 75 72 63 65 20 |out if r|esource |
|00002410| 62 65 6c 6f 6e 67 73 20 | 74 6f 20 63 75 72 72 65 |belongs |to curre|
|00002420| 6e 74 20 72 65 73 20 66 | 69 6c 65 2e 0d 44 69 73 |nt res f|ile..Dis|
|00002430| 70 6c 61 79 20 61 6e 20 | 61 6c 65 72 74 20 74 68 |play an |alert th|
|00002440| 61 74 20 74 65 6c 6c 73 | 20 74 68 65 20 75 73 65 |at tells| the use|
|00002450| 72 20 61 6e 20 65 72 72 | 6f 72 20 6f 63 63 75 72 |r an err|or occur|
|00002460| 72 65 64 2c 20 74 68 65 | 6e 20 65 78 69 74 20 74 |red, the|n exit t|
|00002470| 68 65 20 70 72 6f 67 72 | 61 6d 2e 0d 44 69 73 70 |he progr|am..Disp|
|00002480| 6c 61 79 20 61 6e 20 61 | 6c 65 72 74 20 74 68 61 |lay an a|lert tha|
|00002490| 74 20 74 65 6c 6c 73 20 | 74 68 65 20 75 73 65 72 |t tells |the user|
|000024a0| 20 61 6e 20 65 72 72 6f | 72 20 6f 63 63 75 72 72 | an erro|r occurr|
|000024b0| 65 64 2c 20 74 68 65 6e | 20 65 78 69 74 20 74 68 |ed, then| exit th|
|000024c0| 65 20 70 72 6f 67 72 61 | 6d 2e 0d 54 68 65 20 64 |e progra|m..The d|
|000024d0| 65 66 61 75 6c 74 20 6f | 62 6a 65 63 74 20 63 6f |efault o|bject co|
|000024e0| 6d 70 61 72 69 73 6f 6e | 20 66 75 6e 63 74 69 6f |mparison| functio|
|000024f0| 6e 2e 0d 44 69 73 70 6f | 73 65 20 6f 66 20 74 68 |n..Dispo|se of th|
|00002500| 65 20 73 74 61 6e 64 61 | 72 64 20 64 6f 63 75 6d |e standa|rd docum|
|00002510| 65 6e 74 20 61 6e 64 20 | 75 6e 64 6f 20 69 6e 66 |ent and |undo inf|
|00002520| 6f 72 6d 61 74 69 6f 6e | 2e 0d 43 72 65 61 74 65 |ormation|..Create|
|00002530| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 64 6f | the sta|ndard do|
|00002540| 63 75 6d 65 6e 74 20 61 | 6e 64 20 75 6e 64 6f 20 |cument a|nd undo |
|00002550| 6f 62 6a 65 63 74 73 2e | 0d 47 65 74 20 74 68 65 |objects.|.Get the|
|00002560| 20 65 66 66 65 63 74 69 | 76 65 20 28 6c 6f 67 69 | effecti|ve (logi|
|00002570| 63 61 6c 29 20 64 65 73 | 74 69 6e 61 74 69 6f 6e |cal) des|tination|
|00002580| 20 72 65 63 74 20 66 6f | 72 20 74 68 65 20 6c 61 | rect fo|r the la|
|00002590| 79 65 72 2e 0d 44 69 73 | 70 6f 73 65 20 6f 66 20 |yer..Dis|pose of |
|000025a0| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 64 6f 63 |the stan|dard doc|
|000025b0| 75 6d 65 6e 74 20 61 6e | 64 20 75 6e 64 6f 20 69 |ument an|d undo i|
|000025c0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 0d 4d 6f 76 65 |nformati|on..Move|
|000025d0| 20 75 6e 64 6f 20 74 61 | 73 6b 73 20 73 61 76 65 | undo ta|sks save|
|000025e0| 64 20 77 69 74 68 20 64 | 6f 63 75 6d 65 6e 74 20 |d with d|ocument |
|000025f0| 6f 75 74 20 6f 66 20 64 | 6f 63 75 6d 65 6e 74 20 |out of d|ocument |
|00002600| 61 6e 64 20 69 6e 74 6f | 20 75 6e 64 6f 20 68 69 |and into| undo hi|
|00002610| 65 72 61 72 63 68 79 2e | 0d 52 65 61 64 20 74 68 |erarchy.|.Read th|
|00002620| 65 20 64 65 66 61 75 6c | 74 20 64 6f 63 75 6d 65 |e defaul|t docume|
|00002630| 6e 74 20 68 65 61 64 65 | 72 20 66 6f 72 6d 61 74 |nt heade|r format|
|00002640| 2e 0d 57 72 69 74 65 20 | 61 20 73 74 61 6e 64 61 |..Write |a standa|
|00002650| 72 64 20 68 69 65 72 61 | 72 63 68 69 63 61 6c 20 |rd hiera|rchical |
|00002660| 64 6f 63 75 6d 65 6e 74 | 20 74 6f 20 64 69 73 6b |document| to disk|
|00002670| 2e 0d 57 72 69 74 65 73 | 20 74 68 65 20 64 65 66 |..Writes| the def|
|00002680| 61 75 6c 74 20 68 65 61 | 64 65 72 20 66 6f 72 6d |ault hea|der form|
|00002690| 61 74 2e 0d 52 65 6d 6f | 76 65 73 20 61 20 63 68 |at..Remo|ves a ch|
|000026a0| 69 6c 64 20 66 72 6f 6d | 20 74 68 65 20 70 61 72 |ild from| the par|
|000026b0| 65 6e 74 27 73 20 63 68 | 69 6c 64 20 68 61 6e 64 |ent's ch|ild hand|
|000026c0| 6c 65 20 74 61 62 6c 65 | 2e 0d 44 65 74 61 63 68 |le table|..Detach|
|000026d0| 20 74 68 65 20 6c 61 79 | 65 72 20 66 72 6f 6d 20 | the lay|er from |
|000026e0| 74 68 65 20 6c 61 79 65 | 72 20 63 68 61 69 6e 2e |the laye|r chain.|
|000026f0| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|00002700| 6e 64 6f 77 44 69 61 6c | 6f 67 2e 63 29 2e 20 20 |ndowDial|og.c). |
|00002710| 53 61 6d 65 20 61 73 20 | 41 64 6a 75 73 74 4d 65 |Same as |AdjustMe|
|00002720| 6e 75 49 74 65 6d 73 2c | 20 62 75 74 20 66 6f 72 |nuItems,| but for|
|00002730| 20 64 69 61 6c 6f 67 73 | 2e 0d a5 41 70 70 57 61 | dialogs|...AppWa|
|00002740| 6e 6e 61 62 65 20 28 57 | 69 6e 64 6f 77 44 69 61 |nnabe (W|indowDia|
|00002750| 6c 6f 67 2e 63 29 2e 20 | 20 53 61 6d 65 20 61 73 |log.c). | Same as|
|00002760| 20 43 61 6c 63 46 72 61 | 6d 65 52 67 6e 2c 20 62 | CalcFra|meRgn, b|
|00002770| 75 74 20 66 6f 72 20 64 | 69 61 6c 6f 67 73 2e 0d |ut for d|ialogs..|
|00002780| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00002790| 64 6f 77 44 69 61 6c 6f | 67 2e 63 29 2e 20 20 53 |dowDialo|g.c). S|
|000027a0| 61 6d 65 20 61 73 20 43 | 6f 6e 74 65 6e 74 43 6c |ame as C|ontentCl|
|000027b0| 69 63 6b 2c 20 62 75 74 | 20 66 6f 72 20 64 69 61 |ick, but| for dia|
|000027c0| 6c 6f 67 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |logs...A|ppWannab|
|000027d0| 65 20 28 57 69 6e 64 6f | 77 44 69 61 6c 6f 67 2e |e (Windo|wDialog.|
|000027e0| 63 29 2e 20 20 53 61 6d | 65 20 61 73 20 43 6f 6e |c). Sam|e as Con|
|000027f0| 74 65 6e 74 4b 65 79 2c | 20 62 75 74 20 66 6f 72 |tentKey,| but for|
|00002800| 20 64 69 61 6c 6f 67 73 | 2e 0d a5 41 70 70 57 61 | dialogs|...AppWa|
|00002810| 6e 6e 61 62 65 20 28 57 | 69 6e 64 6f 77 44 69 61 |nnabe (W|indowDia|
|00002820| 6c 6f 67 2e 63 29 2e 20 | 20 53 61 6d 65 20 61 73 |log.c). | Same as|
|00002830| 20 44 6f 4d 65 6e 75 49 | 74 65 6d 2c 20 62 75 74 | DoMenuI|tem, but|
|00002840| 20 66 6f 72 20 64 69 61 | 6c 6f 67 73 2e 0d a5 41 | for dia|logs...A|
|00002850| 70 70 57 61 6e 6e 61 62 | 65 20 28 57 69 6e 64 6f |ppWannab|e (Windo|
|00002860| 77 44 69 61 6c 6f 67 2e | 63 29 2e 20 20 53 61 6d |wDialog.|c). Sam|
|00002870| 65 20 61 73 20 44 72 61 | 77 46 72 61 6d 65 2c 20 |e as Dra|wFrame, |
|00002880| 62 75 74 20 66 6f 72 20 | 64 69 61 6c 6f 67 73 2e |but for |dialogs.|
|00002890| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|000028a0| 6e 64 6f 77 44 69 61 6c | 6f 67 2e 63 29 2e 20 20 |ndowDial|og.c). |
|000028b0| 53 61 6d 65 20 61 73 20 | 46 72 65 65 44 6f 63 75 |Same as |FreeDocu|
|000028c0| 6d 65 6e 74 2c 20 62 75 | 74 20 66 6f 72 20 64 69 |ment, bu|t for di|
|000028d0| 61 6c 6f 67 73 2e 0d a5 | 41 70 70 57 61 6e 6e 61 |alogs...|AppWanna|
|000028e0| 62 65 20 28 57 69 6e 64 | 6f 77 44 69 61 6c 6f 67 |be (Wind|owDialog|
|000028f0| 2e 63 29 2e 20 20 53 61 | 6d 65 20 61 73 20 46 72 |.c). Sa|me as Fr|
|00002900| 65 65 57 69 6e 64 6f 77 | 2c 20 62 75 74 20 66 6f |eeWindow|, but fo|
|00002910| 72 20 64 69 61 6c 6f 67 | 73 2e 0d a5 41 70 70 57 |r dialog|s...AppW|
|00002920| 61 6e 6e 61 62 65 20 28 | 57 69 6e 64 6f 77 44 69 |annabe (|WindowDi|
|00002930| 61 6c 6f 67 2e 63 29 2e | 20 20 53 61 6d 65 20 61 |alog.c).| Same a|
|00002940| 73 20 49 6d 61 67 65 44 | 6f 63 75 6d 65 6e 74 2c |s ImageD|ocument,|
|00002950| 20 62 75 74 20 66 6f 72 | 20 64 69 61 6c 6f 67 73 | but for| dialogs|
|00002960| 2e 0d a5 41 70 70 57 61 | 6e 6e 61 62 65 20 28 57 |...AppWa|nnabe (W|
|00002970| 69 6e 64 6f 77 44 69 61 | 6c 6f 67 2e 63 29 2e 20 |indowDia|log.c). |
|00002980| 20 53 61 6d 65 20 61 73 | 20 49 6e 69 74 43 6f 6e | Same as| InitCon|
|00002990| 74 65 6e 74 2c 20 62 75 | 74 20 66 6f 72 20 64 69 |tent, bu|t for di|
|000029a0| 61 6c 6f 67 73 2e 0d a5 | 41 70 70 57 61 6e 6e 61 |alogs...|AppWanna|
|000029b0| 62 65 20 28 57 69 6e 64 | 6f 77 44 69 61 6c 6f 67 |be (Wind|owDialog|
|000029c0| 2e 63 29 2e 20 20 53 61 | 6d 65 20 61 73 20 52 65 |.c). Sa|me as Re|
|000029d0| 73 69 7a 65 43 6f 6e 74 | 65 6e 74 2c 20 62 75 74 |sizeCont|ent, but|
|000029e0| 20 66 6f 72 20 64 69 61 | 6c 6f 67 73 2e 0d a5 41 | for dia|logs...A|
|000029f0| 70 70 57 61 6e 6e 61 62 | 65 20 28 57 69 6e 64 6f |ppWannab|e (Windo|
|00002a00| 77 44 69 61 6c 6f 67 2e | 63 29 2e 20 20 53 61 6d |wDialog.|c). Sam|
|00002a10| 65 20 61 73 20 53 63 72 | 6f 6c 6c 46 72 61 6d 65 |e as Scr|ollFrame|
|00002a20| 2c 20 62 75 74 20 66 6f | 72 20 64 69 61 6c 6f 67 |, but fo|r dialog|
|00002a30| 73 2e 0d a5 41 70 70 57 | 61 6e 6e 61 62 65 20 28 |s...AppW|annabe (|
|00002a40| 57 69 6e 64 6f 77 44 69 | 61 6c 6f 67 2e 63 29 2e |WindowDi|alog.c).|
|00002a50| 20 20 53 61 6d 65 20 61 | 73 20 55 6e 64 6f 46 69 | Same a|s UndoFi|
|00002a60| 78 75 70 2c 20 62 75 74 | 20 66 6f 72 20 64 69 61 |xup, but| for dia|
|00002a70| 6c 6f 67 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |logs...A|ppWannab|
|00002a80| 65 20 28 57 69 6e 64 6f | 77 44 69 61 6c 6f 67 2e |e (Windo|wDialog.|
|00002a90| 63 29 2e 20 20 53 61 6d | 65 20 61 73 20 57 69 6e |c). Sam|e as Win|
|00002aa0| 64 6f 77 43 75 72 73 6f | 72 2c 20 62 75 74 20 66 |dowCurso|r, but f|
|00002ab0| 6f 72 20 64 69 61 6c 6f | 67 73 2e 0d a5 41 70 70 |or dialo|gs...App|
|00002ac0| 57 61 6e 6e 61 62 65 20 | 28 57 69 6e 64 6f 77 44 |Wannabe |(WindowD|
|00002ad0| 69 61 6c 6f 67 2e 63 29 | 2e 20 20 53 61 6d 65 20 |ialog.c)|. Same |
|00002ae0| 61 73 20 57 69 6e 64 6f | 77 47 6f 6e 65 46 69 78 |as Windo|wGoneFix|
|00002af0| 75 70 2c 20 62 75 74 20 | 66 6f 72 20 64 69 61 6c |up, but |for dial|
|00002b00| 6f 67 73 2e 0d 44 69 73 | 70 6f 73 65 20 6f 66 20 |ogs..Dis|pose of |
|00002b10| 61 6c 6c 20 75 6e 64 6f | 20 69 6e 66 6f 72 6d 61 |all undo| informa|
|00002b20| 74 69 6f 6e 20 61 6e 64 | 20 70 72 65 76 65 6e 74 |tion and| prevent|
|00002b30| 20 66 75 72 74 68 65 72 | 20 75 6e 64 6f 20 63 6f | further| undo co|
|00002b40| 6c 6c 65 63 74 69 6f 6e | 2e 0d 53 68 6f 77 20 6f |llection|..Show o|
|00002b50| 72 20 68 69 64 65 20 61 | 20 73 65 74 20 6f 66 20 |r hide a| set of |
|00002b60| 63 6f 6e 74 72 6f 6c 73 | 2e 0d 44 6f 20 61 20 73 |controls|..Do a s|
|00002b70| 79 73 74 65 6d 2d 69 6e | 64 65 70 65 6e 64 65 6e |ystem-in|dependen|
|00002b80| 74 20 28 73 79 73 74 65 | 6d 20 36 20 6f 72 20 37 |t (syste|m 6 or 7|
|00002b90| 2b 29 20 53 74 61 6e 64 | 61 72 64 20 47 65 74 20 |+) Stand|ard Get |
|00002ba0| 46 69 6c 65 2e 0d 44 6f | 20 61 20 73 79 73 74 65 |File..Do| a syste|
|00002bb0| 6d 2d 69 6e 64 65 70 65 | 6e 64 65 6e 74 20 28 73 |m-indepe|ndent (s|
|00002bc0| 79 73 74 65 6d 20 36 20 | 6f 72 20 37 2b 29 20 53 |ystem 6 |or 7+) S|
|00002bd0| 74 61 6e 64 61 72 64 20 | 50 75 74 20 46 69 6c 65 |tandard |Put File|
|00002be0| 2e 0d 44 69 73 70 6f 73 | 65 20 74 68 65 20 77 69 |..Dispos|e the wi|
|00002bf0| 6e 64 6f 77 73 2c 20 67 | 69 76 69 6e 67 20 75 73 |ndows, g|iving us|
|00002c00| 65 72 20 74 68 65 20 63 | 68 61 6e 63 65 20 74 6f |er the c|hance to|
|00002c10| 20 61 62 6f 72 74 2e 0d | 44 69 73 70 6f 73 65 73 | abort..|Disposes|
|00002c20| 20 74 68 65 20 69 6e 64 | 69 63 61 74 65 64 20 77 | the ind|icated w|
|00002c30| 69 6e 64 6f 77 2e 20 20 | 41 6c 73 6f 20 68 61 6e |indow. |Also han|
|00002c40| 64 6c 65 73 20 69 66 20 | 74 68 65 20 77 69 6e 64 |dles if |the wind|
|00002c50| 6f 77 20 69 73 20 61 20 | 44 41 20 77 69 6e 64 6f |ow is a |DA windo|
|00002c60| 77 2e 0d 44 69 73 70 6f | 73 65 73 20 6f 66 20 74 |w..Dispo|ses of t|
|00002c70| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 63 68 69 |he speci|fied chi|
|00002c80| 6c 64 20 61 6e 64 20 61 | 6c 6c 20 6f 66 66 73 70 |ld and a|ll offsp|
|00002c90| 72 69 6e 67 20 6f 66 20 | 74 68 61 74 20 63 68 69 |ring of |that chi|
|00002ca0| 6c 64 2e 0d 44 69 73 70 | 6f 73 65 20 61 20 73 69 |ld..Disp|ose a si|
|00002cb0| 6e 67 6c 65 20 63 6f 6e | 74 72 6f 6c 20 66 72 6f |ngle con|trol fro|
|00002cc0| 6d 20 61 20 63 6f 6e 74 | 72 6f 6c 20 73 65 74 2e |m a cont|rol set.|
|00002cd0| 0d 44 69 73 70 6f 73 65 | 20 61 20 73 65 74 20 6f |.Dispose| a set o|
|00002ce0| 66 20 63 6f 6e 74 72 6f | 6c 73 2e 0d 44 69 73 70 |f contro|ls..Disp|
|00002cf0| 6f 73 65 20 6f 66 20 61 | 6e 20 41 70 70 73 54 6f |ose of a|n AppsTo|
|00002d00| 47 6f 20 64 6f 63 75 6d | 65 6e 74 2e 0d 44 65 74 |Go docum|ent..Det|
|00002d10| 61 63 68 20 74 68 65 20 | 6c 61 79 65 72 20 66 72 |ach the |layer fr|
|00002d20| 6f 6d 20 74 68 65 20 6c | 61 79 65 72 20 63 68 61 |om the l|ayer cha|
|00002d30| 69 6e 2c 20 61 6e 64 20 | 74 68 65 6e 20 64 69 73 |in, and |then dis|
|00002d40| 70 6f 73 65 20 69 74 2e | 0d 54 68 69 73 20 64 69 |pose it.|.This di|
|00002d50| 73 70 6f 73 65 73 20 6f | 66 20 74 68 65 20 6f 62 |sposes o|f the ob|
|00002d60| 6a 65 63 74 20 61 6e 64 | 20 61 6e 79 20 6f 66 66 |ject and| any off|
|00002d70| 73 70 72 69 6e 67 20 6f | 66 20 74 68 61 74 20 6f |spring o|f that o|
|00002d80| 62 6a 65 63 74 2e 0d 44 | 69 73 70 6f 73 65 20 6f |bject..D|ispose o|
|00002d90| 6e 65 20 77 69 6e 64 6f | 77 2c 20 67 69 76 69 6e |ne windo|w, givin|
|00002da0| 67 20 74 68 65 20 75 73 | 65 72 20 74 68 65 20 63 |g the us|er the c|
|00002db0| 68 61 6e 63 65 20 74 6f | 20 61 62 6f 72 74 2e 0d |hance to| abort..|
|00002dc0| 44 69 73 70 6f 73 65 20 | 74 68 65 20 6c 61 79 65 |Dispose |the laye|
|00002dd0| 72 20 61 6e 64 20 61 6c | 6c 20 6c 61 79 65 72 73 |r and al|l layers|
|00002de0| 20 62 65 6c 6f 77 20 69 | 74 20 66 72 6f 6d 20 74 | below i|t from t|
|00002df0| 68 65 20 6c 61 79 65 72 | 20 63 68 61 69 6e 2e 0d |he layer| chain..|
|00002e00| 44 69 73 70 6f 73 65 20 | 6f 66 20 61 6c 6c 20 75 |Dispose |of all u|
|00002e10| 6e 64 6f 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |ndo info|rmation.|
|00002e20| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 44 6f |..AppWan|nabe (Do|
|00002e30| 45 76 65 6e 74 2e 63 29 | 2e 20 20 43 61 6c 6c 65 |Event.c)|. Calle|
|00002e40| 64 20 62 79 20 66 72 61 | 6d 65 77 6f 72 6b 20 74 |d by fra|mework t|
|00002e50| 6f 20 61 63 74 69 76 61 | 74 65 20 6f 72 20 64 65 |o activa|te or de|
|00002e60| 61 63 74 69 76 61 74 65 | 20 61 20 77 69 6e 64 6f |activate| a windo|
|00002e70| 77 2e 0d 41 64 6a 75 73 | 74 20 61 6c 6c 20 6f 66 |w..Adjus|t all of|
|00002e80| 20 74 68 65 20 6d 65 6e | 75 73 20 69 6e 20 74 68 | the men|us in th|
|00002e90| 65 20 64 65 73 69 67 6e | 61 74 65 64 20 4d 42 41 |e design|ated MBA|
|00002ea0| 52 2e 0d a5 41 70 70 57 | 61 6e 6e 61 62 65 20 28 |R...AppW|annabe (|
|00002eb0| 4d 65 6e 75 2e 63 29 2e | 20 20 43 61 6c 6c 65 64 |Menu.c).| Called|
|00002ec0| 20 62 79 20 66 72 61 6d | 65 77 6f 72 6b 20 74 6f | by fram|ework to|
|00002ed0| 20 61 63 74 69 76 61 74 | 65 20 6f 72 20 64 65 61 | activat|e or dea|
|00002ee0| 63 74 69 76 61 74 65 20 | 61 20 77 69 6e 64 6f 77 |ctivate |a window|
|00002ef0| 2e 0d 41 70 70 73 54 6f | 47 6f 20 65 76 65 6e 74 |..AppsTo|Go event|
|00002f00| 20 68 61 6e 64 6c 65 72 | 20 66 6f 72 20 27 6f 61 | handler| for 'oa|
|00002f10| 70 70 27 20 41 70 70 6c | 65 45 76 65 6e 74 2e 0d |pp' Appl|eEvent..|
|00002f20| 43 61 6c 6c 20 65 61 63 | 68 20 6f 62 6a 65 63 74 |Call eac|h object|
|00002f30| 20 6f 66 20 74 68 65 20 | 74 72 65 65 20 28 6f 72 | of the |tree (or|
|00002f40| 20 62 72 61 6e 63 68 29 | 20 69 6e 20 62 61 63 6b | branch)| in back|
|00002f50| 2d 74 6f 2d 66 72 6f 6e | 74 20 6f 72 64 65 72 2e |-to-fron|t order.|
|00002f60| 0d 42 75 69 6c 64 20 61 | 20 7a 6f 6e 65 20 6c 69 |.Build a| zone li|
|00002f70| 73 74 20 69 6e 74 6f 20 | 61 20 6c 69 73 74 20 68 |st into |a list h|
|00002f80| 61 6e 64 6c 65 2e 0d 43 | 61 6c 63 75 6c 61 74 65 |andle..C|alculate|
|00002f90| 20 72 65 67 69 6f 6e 20 | 74 68 61 74 20 65 6e 63 | region |that enc|
|00002fa0| 6f 6d 70 61 73 73 65 73 | 20 65 6e 74 69 72 65 20 |ompasses| entire |
|00002fb0| 77 69 6e 64 6f 77 20 66 | 72 61 6d 65 20 61 72 65 |window f|rame are|
|00002fc0| 61 2e 0d 43 61 6c 63 75 | 6c 61 74 65 20 74 68 65 |a..Calcu|late the|
|00002fd0| 20 72 65 67 69 6f 6e 20 | 74 68 61 74 20 65 6e 63 | region |that enc|
|00002fe0| 6f 6d 70 61 73 73 65 73 | 20 74 68 65 20 64 6f 63 |ompasses| the doc|
|00002ff0| 75 6d 65 6e 74 20 73 63 | 72 6f 6c 6c 62 61 72 73 |ument sc|rollbars|
|00003000| 20 61 6e 64 20 67 72 6f | 77 49 63 6f 6e 2e 0d 50 | and gro|wIcon..P|
|00003010| 72 6f 63 65 73 73 20 61 | 20 63 6f 6e 74 65 6e 74 |rocess a| content|
|00003020| 20 63 6c 69 63 6b 2e 20 | 20 4d 61 79 20 63 61 6c | click. | May cal|
|00003030| 6c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 74 6f |l applic|ation to|
|00003040| 20 68 65 6c 70 2e 0d 52 | 65 61 63 74 69 76 61 74 | help..R|eactivat|
|00003050| 65 20 61 20 54 65 78 74 | 45 64 69 74 20 6f 72 20 |e a Text|Edit or |
|00003060| 4c 69 73 74 20 63 6f 6e | 74 72 6f 6c 2e 0d a5 41 |List con|trol...A|
|00003070| 70 70 57 61 6e 6e 61 62 | 65 20 28 44 6f 45 76 65 |ppWannab|e (DoEve|
|00003080| 6e 74 2e 63 29 2e 20 20 | 43 61 6c 6c 65 64 20 62 |nt.c). |Called b|
|00003090| 79 20 66 72 61 6d 65 77 | 6f 72 6b 20 74 6f 20 61 |y framew|ork to a|
|000030a0| 64 6a 75 73 74 20 74 68 | 65 20 63 75 72 73 6f 72 |djust th|e cursor|
|000030b0| 2e 0d 41 70 70 73 54 6f | 47 6f 20 44 72 61 67 57 |..AppsTo|Go DragW|
|000030c0| 69 6e 64 6f 77 20 63 6f | 64 65 2e 20 20 55 73 65 |indow co|de. Use|
|000030d0| 20 74 68 69 73 20 69 6e | 73 74 65 61 64 20 6f 66 | this in|stead of|
|000030e0| 20 44 72 61 67 57 69 6e | 64 6f 77 2e 0d 54 68 69 | DragWin|dow..Thi|
|000030f0| 73 20 69 73 20 77 68 65 | 72 65 20 74 68 65 20 77 |s is whe|re the w|
|00003100| 6f 72 6b 20 66 6f 72 20 | 73 63 72 6f 6c 6c 62 61 |ork for |scrollba|
|00003110| 72 2f 63 6f 6e 74 72 6f | 6c 20 64 72 61 77 69 6e |r/contro|l drawin|
|00003120| 67 20 69 73 20 61 63 74 | 75 61 6c 6c 79 20 64 6f |g is act|ually do|
|00003130| 6e 65 2e 0d 44 72 61 77 | 73 20 61 6c 6c 20 6f 66 |ne..Draw|s all of|
|00003140| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 73 20 69 6e | the con|trols in|
|00003150| 20 61 20 77 69 6e 64 6f | 77 2c 20 6f 72 20 6a 75 | a windo|w, or ju|
|00003160| 73 74 20 74 68 65 20 73 | 63 72 6f 6c 6c 62 61 72 |st the s|crollbar|
|00003170| 20 63 6f 6e 74 72 6f 6c | 73 2e 0d 44 72 61 77 20 | control|s..Draw |
|00003180| 74 68 65 20 65 6e 74 69 | 72 65 20 66 72 61 6d 65 |the enti|re frame|
|00003190| 20 6f 66 20 61 20 77 69 | 6e 64 6f 77 2e 20 20 41 | of a wi|ndow. A|
|000031a0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6d 61 79 20 61 |pplicati|on may a|
|000031b0| 6c 73 6f 20 62 65 20 63 | 61 6c 6c 65 64 20 66 6f |lso be c|alled fo|
|000031c0| 72 20 70 61 72 74 2e 0d | 44 72 61 77 73 20 74 68 |r part..|Draws th|
|000031d0| 65 20 67 72 6f 77 20 69 | 63 6f 6e 20 66 6f 72 20 |e grow i|con for |
|000031e0| 74 68 65 20 77 69 6e 64 | 6f 77 20 69 6e 20 74 68 |the wind|ow in th|
|000031f0| 65 20 73 70 65 63 69 66 | 69 65 64 20 6d 61 6e 6e |e specif|ied mann|
|00003200| 65 72 2e 0d 43 61 6c 6c | 20 65 61 63 68 20 6f 62 |er..Call| each ob|
|00003210| 6a 65 63 74 20 6f 66 20 | 74 68 65 20 74 72 65 65 |ject of |the tree|
|00003220| 20 28 6f 72 20 62 72 61 | 6e 63 68 29 20 69 6e 20 | (or bra|nch) in |
|00003230| 62 61 63 6b 2d 74 6f 2d | 66 72 6f 6e 74 20 6f 72 |back-to-|front or|
|00003240| 64 65 72 20 61 6e 64 20 | 61 62 6f 72 74 20 6f 6e |der and |abort on|
|00003250| 20 65 72 72 6f 72 2e 0d | 43 61 6c 6c 20 65 61 63 | error..|Call eac|
|00003260| 68 20 6f 62 6a 65 63 74 | 20 6f 66 20 74 68 65 20 |h object| of the |
|00003270| 74 72 65 65 20 28 6f 72 | 20 62 72 61 6e 63 68 29 |tree (or| branch)|
|00003280| 20 69 6e 20 66 72 6f 6e | 74 2d 74 6f 2d 62 61 63 | in fron|t-to-bac|
|00003290| 6b 20 6f 72 64 65 72 20 | 61 6e 64 20 61 62 6f 72 |k order |and abor|
|000032a0| 74 20 6f 6e 20 65 72 72 | 6f 72 2e 0d a5 41 70 70 |t on err|or...App|
|000032b0| 57 61 6e 6e 61 62 65 20 | 28 44 6f 45 76 65 6e 74 |Wannabe |(DoEvent|
|000032c0| 2e 63 29 2e 20 20 54 68 | 69 73 20 69 73 20 77 68 |.c). Th|is is wh|
|000032d0| 65 72 65 20 65 76 65 6e | 74 20 64 69 73 70 61 74 |ere even|t dispat|
|000032e0| 63 68 69 6e 67 20 6f 63 | 63 75 72 73 2e 0d 4f 70 |ching oc|curs..Op|
|000032f0| 70 6f 72 74 75 6e 69 74 | 79 20 74 6f 20 72 65 6c |portunit|y to rel|
|00003300| 65 61 73 65 20 61 20 64 | 6f 63 75 6d 65 6e 74 d5 |ease a d|ocument.|
|00003310| 73 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 6d 65 6d |s additi|onal mem|
|00003320| 6f 72 79 2e 0d 4f 70 70 | 6f 72 74 75 6e 69 74 79 |ory..Opp|ortunity|
|00003330| 20 74 6f 20 72 65 6c 65 | 61 73 65 20 61 20 77 69 | to rele|ase a wi|
|00003340| 6e 64 6f 77 d5 73 20 61 | 64 64 69 74 69 6f 6e 61 |ndow.s a|dditiona|
|00003350| 6c 20 6d 65 6d 6f 72 79 | 2e 0d 43 61 6c 6c 20 65 |l memory|..Call e|
|00003360| 61 63 68 20 6f 62 6a 65 | 63 74 20 6f 66 20 74 68 |ach obje|ct of th|
|00003370| 65 20 74 72 65 65 20 28 | 6f 72 20 62 72 61 6e 63 |e tree (|or branc|
|00003380| 68 29 20 69 6e 20 66 72 | 6f 6e 74 2d 74 6f 2d 62 |h) in fr|ont-to-b|
|00003390| 61 63 6b 20 6f 72 64 65 | 72 2e 0d 53 69 6d 70 6c |ack orde|r..Simpl|
|000033a0| 79 20 63 61 6c 6c 73 20 | 41 45 50 72 6f 63 65 73 |y calls |AEProces|
|000033b0| 73 41 70 70 6c 65 45 76 | 65 6e 74 20 61 6e 64 20 |sAppleEv|ent and |
|000033c0| 72 65 70 6f 72 74 73 20 | 61 6e 79 20 65 72 72 6f |reports |any erro|
|000033d0| 72 73 2e 0d 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |rs..Appl|ication |
|000033e0| 77 69 6e 64 6f 77 d5 73 | 20 69 6d 61 67 69 6e 67 |window.s| imaging|
|000033f0| 20 70 72 6f 63 65 64 75 | 72 65 20 28 74 6f 20 65 | procedu|re (to e|
|00003400| 69 74 68 65 72 20 77 69 | 6e 64 6f 77 20 6f 72 20 |ither wi|ndow or |
|00003410| 70 72 69 6e 74 65 72 29 | 2e 0d 41 70 70 6c 69 63 |printer)|..Applic|
|00003420| 61 74 69 6f 6e d5 73 20 | 6f 70 70 6f 72 74 75 6e |ation.s |opportun|
|00003430| 69 74 79 20 74 6f 20 69 | 6e 69 74 69 61 6c 69 7a |ity to i|nitializ|
|00003440| 65 20 77 69 6e 64 6f 77 | 20 63 6f 6e 74 65 6e 74 |e window| content|
|00003450| 2e 0d 55 73 65 64 20 74 | 6f 20 67 65 6e 65 72 61 |..Used t|o genera|
|00003460| 74 65 20 61 20 6c 69 73 | 74 20 6f 66 20 49 50 43 |te a lis|t of IPC|
|00003470| 20 70 6f 72 74 73 2c 20 | 67 69 76 65 6e 20 61 20 | ports, |given a |
|00003480| 74 61 72 67 65 74 2e 20 | 20 46 6f 72 20 61 6e 20 |target. | For an |
|00003490| 65 78 61 6d 70 6c 65 20 | 75 73 61 67 65 2c 0d 50 |example |usage,.P|
|000034a0| 72 6f 63 65 73 73 20 6b | 65 79 20 65 76 65 6e 74 |rocess k|ey event|
|000034b0| 2e 20 20 46 72 61 6d 65 | 77 6f 72 6b 20 6d 61 79 |. Frame|work may|
|000034c0| 20 63 61 6c 6c 20 61 70 | 70 6c 69 63 61 74 69 6f | call ap|plicatio|
|000034d0| 6e 20 74 6f 20 66 69 6e | 69 73 68 20 65 76 65 6e |n to fin|ish even|
|000034e0| 74 2e 0d a5 41 70 70 57 | 61 6e 6e 61 62 65 20 28 |t...AppW|annabe (|
|000034f0| 4d 65 6e 75 2e 63 29 2e | 20 20 43 61 6c 6c 65 64 |Menu.c).| Called|
|00003500| 20 62 79 20 66 72 61 6d | 65 77 6f 72 6b 20 74 6f | by fram|ework to|
|00003510| 20 65 78 65 63 75 74 65 | 20 6d 65 6e 75 20 63 6f | execute| menu co|
|00003520| 6d 6d 61 6e 64 2e 0d a5 | 41 70 70 57 61 6e 6e 61 |mmand...|AppWanna|
|00003530| 62 65 20 28 57 69 6e 64 | 6f 77 2e 63 29 2e 20 20 |be (Wind|ow.c). |
|00003540| 43 61 6c 6c 65 64 20 62 | 79 20 66 72 61 6d 65 77 |Called b|y framew|
|00003550| 6f 72 6b 20 73 6f 20 61 | 70 70 20 63 61 6e 20 64 |ork so a|pp can d|
|00003560| 6f 20 74 68 65 20 6d 65 | 6e 75 20 63 6f 6d 6d 61 |o the me|nu comma|
|00003570| 6e 64 2e 0d 50 72 6f 63 | 65 73 73 20 6d 6f 75 73 |nd..Proc|ess mous|
|00003580| 65 44 6f 77 6e 20 65 76 | 65 6e 74 2e 20 20 46 72 |eDown ev|ent. Fr|
|00003590| 61 6d 65 77 6f 72 6b 20 | 6d 61 79 20 63 61 6c 6c |amework |may call|
|000035a0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 6f 20 | applica|tion to |
|000035b0| 66 69 6e 69 73 68 20 65 | 76 65 6e 74 2e 0d 43 61 |finish e|vent..Ca|
|000035c0| 6c 6c 65 64 20 61 66 74 | 65 72 20 75 73 69 6e 67 |lled aft|er using|
|000035d0| 20 50 72 69 6e 74 44 6f | 63 75 6d 65 6e 74 20 66 | PrintDo|cument f|
|000035e0| 6f 72 20 63 6c 65 61 6e | 75 70 2e 0d 43 72 65 61 |or clean|up..Crea|
|000035f0| 74 65 20 77 69 6e 64 6f | 77 20 66 6f 72 20 41 70 |te windo|w for Ap|
|00003600| 70 73 54 6f 47 6f 20 64 | 6f 63 75 6d 65 6e 74 2e |psToGo d|ocument.|
|00003610| 0d 4e 75 6d 62 65 72 20 | 65 61 63 68 20 6d 65 6d |.Number |each mem|
|00003620| 62 65 72 20 69 6e 20 74 | 68 65 20 74 72 65 65 20 |ber in t|he tree |
|00003630| 77 69 74 68 20 61 20 75 | 6e 69 71 75 65 20 74 72 |with a u|nique tr|
|00003640| 65 65 49 44 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |eeID...A|ppWannab|
|00003650| 65 20 28 57 69 6e 64 6f | 77 2e 63 29 2e 20 20 43 |e (Windo|w.c). C|
|00003660| 61 6c 6c 65 64 20 62 79 | 20 66 72 61 6d 65 77 6f |alled by| framewo|
|00003670| 72 6b 20 73 6f 20 61 70 | 70 20 63 61 6e 20 73 74 |rk so ap|p can st|
|00003680| 61 72 74 2f 72 65 73 74 | 61 72 74 2f 65 64 69 74 |art/rest|art/edit|
|00003690| 65 64 2e 0d 43 61 6c 6c | 73 20 64 6f 63 75 6d 65 |ed..Call|s docume|
|000036a0| 6e 74 d5 73 20 72 65 61 | 64 2d 64 6f 63 75 6d 65 |nt.s rea|d-docume|
|000036b0| 6e 74 20 70 72 6f 63 65 | 64 75 72 65 2c 20 77 68 |nt proce|dure, wh|
|000036c0| 69 63 68 20 72 65 61 64 | 73 20 74 68 65 20 64 6f |ich read|s the do|
|000036d0| 63 75 6d 65 6e 74 2e 0d | 43 61 6c 6c 73 20 64 6f |cument..|Calls do|
|000036e0| 63 75 6d 65 6e 74 d5 73 | 20 64 6f 63 75 6d 65 6e |cument.s| documen|
|000036f0| 74 20 72 65 61 64 2d 68 | 65 61 64 65 72 20 70 72 |t read-h|eader pr|
|00003700| 6f 63 65 64 75 72 65 2c | 20 77 68 69 63 68 20 72 |ocedure,| which r|
|00003710| 65 61 64 73 20 74 68 65 | 20 68 65 61 64 65 72 2e |eads the| header.|
|00003720| 0d 43 61 6c 6c 65 64 20 | 61 66 74 65 72 20 61 20 |.Called |after a |
|00003730| 77 69 6e 64 6f 77 20 69 | 73 20 72 65 73 69 7a 65 |window i|s resize|
|00003740| 64 2e 20 20 54 68 69 73 | 20 69 73 20 6d 61 6b 65 |d. This| is make|
|00003750| 20 72 65 6c 61 74 65 64 | 20 63 68 61 6e 67 65 73 | related| changes|
|00003760| 20 74 6f 20 74 68 65 20 | 63 6f 6e 74 65 6e 74 2e | to the |content.|
|00003770| 0d 43 61 6c 6c 65 64 20 | 61 66 74 65 72 20 61 20 |.Called |after a |
|00003780| 77 69 6e 64 6f 77 20 69 | 73 20 72 65 73 69 7a 65 |window i|s resize|
|00003790| 64 20 76 69 61 20 67 72 | 6f 77 20 6f 72 20 7a 6f |d via gr|ow or zo|
|000037a0| 6f 6d 2e 0d 53 63 72 6f | 6c 6c 20 61 20 64 6f 63 |om..Scro|ll a doc|
|000037b0| 75 6d 65 6e 74 d5 73 20 | 66 72 61 6d 65 20 61 72 |ument.s |frame ar|
|000037c0| 65 61 2e 0d 4d 61 69 6e | 20 61 70 70 6c 69 63 61 |ea..Main| applica|
|000037d0| 74 69 6f 6e 20 63 75 72 | 73 6f 72 2d 73 65 74 74 |tion cur|sor-sett|
|000037e0| 69 6e 67 20 70 72 6f 63 | 65 64 75 72 65 2e 0d 47 |ing proc|edure..G|
|000037f0| 69 76 65 6e 20 61 6e 20 | 49 44 2c 20 69 6e 73 74 |iven an |ID, inst|
|00003800| 65 61 64 20 6f 66 20 61 | 20 70 6f 69 6e 74 65 72 |ead of a| pointer|
|00003810| 2c 20 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |, set th|e cursor|
|00003820| 2e 0d 49 66 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |..If the| object |
|00003830| 68 61 73 20 61 20 6d 65 | 74 68 6f 64 20 70 72 6f |has a me|thod pro|
|00003840| 63 65 64 75 72 65 2c 20 | 63 61 6c 6c 20 69 74 2e |cedure, |call it.|
|00003850| 20 20 49 66 20 6e 6f 20 | 6d 65 74 68 6f 64 20 70 | If no |method p|
|00003860| 72 6f 63 65 64 75 72 65 | 2c 20 64 6f 20 6e 6f 74 |rocedure|, do not|
|00003870| 68 69 6e 67 2e 0d 50 61 | 72 74 20 6f 66 20 74 68 |hing..Pa|rt of th|
|00003880| 65 20 75 6e 64 6f 20 6d | 65 63 68 61 6e 69 73 6d |e undo m|echanism|
|00003890| 2e 20 20 54 68 69 73 20 | 64 69 73 70 61 74 63 68 |. This |dispatch|
|000038a0| 65 73 20 74 6f 20 74 68 | 65 20 64 6f 63 75 6d 65 |es to th|e docume|
|000038b0| 6e 74 d5 73 20 75 6e 64 | 6f 20 66 69 78 75 70 2e |nt.s und|o fixup.|
|000038c0| 0d 50 65 72 66 6f 72 6d | 73 20 61 6e 20 75 6e 64 |.Perform|s an und|
|000038d0| 6f 2f 72 65 64 6f 20 70 | 72 6f 63 65 73 73 20 66 |o/redo p|rocess f|
|000038e0| 6f 72 20 61 20 64 6f 63 | 75 6d 65 6e 74 2e 0d 55 |or a doc|ument..U|
|000038f0| 70 64 61 74 65 20 74 68 | 65 20 77 69 6e 64 6f 77 |pdate th|e window|
|00003900| 2e 20 20 44 6f 20 74 68 | 69 73 20 69 6e 20 72 65 |. Do th|is in re|
|00003910| 73 70 6f 6e 73 65 20 74 | 6f 20 61 6e 20 75 70 64 |sponse t|o an upd|
|00003920| 61 74 65 20 65 76 65 6e | 74 2e 0d 53 65 70 61 72 |ate even|t..Separ|
|00003930| 61 74 65 73 20 74 68 65 | 20 75 70 64 61 74 65 52 |ates the| updateR|
|00003940| 67 6e 20 69 6e 74 6f 20 | 61 20 66 72 61 6d 65 52 |gn into |a frameR|
|00003950| 67 6e 20 61 6e 64 20 61 | 20 63 6f 6e 74 65 6e 74 |gn and a| content|
|00003960| 52 67 6e 2e 0d 49 74 65 | 72 61 74 65 73 20 74 68 |Rgn..Ite|rates th|
|00003970| 72 6f 75 67 68 20 74 68 | 65 20 77 69 6e 64 6f 77 |rough th|e window|
|00003980| 73 2c 20 67 69 76 69 6e | 67 20 74 68 65 20 64 6f |s, givin|g the do|
|00003990| 63 75 6d 65 6e 74 20 61 | 20 63 68 61 6e 63 65 20 |cument a| chance |
|000039a0| 74 6f 20 73 65 74 20 74 | 68 65 20 63 75 72 73 6f |to set t|he curso|
|000039b0| 72 2e 0d 43 61 6c 6c 73 | 20 64 6f 63 75 6d 65 6e |r..Calls| documen|
|000039c0| 74 d5 20 77 72 69 74 65 | 20 64 6f 63 75 6d 65 6e |t. write| documen|
|000039d0| 74 20 70 72 6f 63 65 64 | 75 72 65 2e 0d 43 61 6c |t proced|ure..Cal|
|000039e0| 6c 73 20 64 6f 63 75 6d | 65 6e 74 d5 73 20 77 72 |ls docum|ent.s wr|
|000039f0| 69 74 65 2d 68 65 61 64 | 65 72 20 70 72 6f 63 65 |ite-head|er proce|
|00003a00| 64 75 72 65 2e 0d 41 70 | 70 73 54 6f 47 6f 20 73 |dure..Ap|psToGo s|
|00003a10| 6d 61 72 74 20 7a 6f 6f | 6d 2e 0d 53 79 73 74 65 |mart zoo|m..Syste|
|00003a20| 6d 20 36 26 37 2d 73 61 | 76 76 79 20 50 6c 6f 74 |m 6&7-sa|vvy Plot|
|00003a30| 43 49 63 6f 6e 20 63 61 | 6c 6c 2e 0d 53 79 73 74 |CIcon ca|ll..Syst|
|00003a40| 65 6d 20 36 26 37 2d 73 | 61 76 76 79 20 73 6d 61 |em 6&7-s|avvy sma|
|00003a50| 72 74 20 50 6c 6f 74 43 | 49 63 6f 6e 20 63 61 6c |rt PlotC|Icon cal|
|00003a60| 6c 2e 0d 53 79 73 74 65 | 6d 20 36 26 37 2d 73 61 |l..Syste|m 6&7-sa|
|00003a70| 76 76 79 20 61 6c 74 65 | 72 6e 61 74 65 20 50 6c |vvy alte|rnate Pl|
|00003a80| 6f 74 43 49 63 6f 6e 20 | 63 61 6c 6c 2e 0d 44 72 |otCIcon |call..Dr|
|00003a90| 61 77 20 61 20 73 65 74 | 20 6f 66 20 63 6f 6e 74 |aw a set| of cont|
|00003aa0| 72 6f 6c 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |rols...A|ppWannab|
|00003ab0| 65 20 28 57 69 6e 64 6f | 77 2e 63 29 2e 20 20 43 |e (Windo|w.c). C|
|00003ac0| 61 6c 6c 65 64 20 62 79 | 20 66 72 61 6d 65 77 6f |alled by| framewo|
|00003ad0| 72 6b 20 74 6f 20 6c 65 | 74 20 61 70 70 20 64 72 |rk to le|t app dr|
|00003ae0| 61 77 20 66 72 61 6d 65 | 2e 0d 55 73 65 64 20 69 |aw frame|..Used i|
|00003af0| 6e 73 74 65 61 64 20 6f | 66 20 45 6e 64 55 70 64 |nstead o|f EndUpd|
|00003b00| 61 74 65 20 74 6f 20 62 | 61 6c 61 6e 63 65 20 42 |ate to b|alance B|
|00003b10| 65 67 69 6e 43 6f 6e 74 | 65 6e 74 20 63 61 6c 6c |eginCont|ent call|
|00003b20| 73 2e 0d 55 73 65 64 20 | 69 6e 73 74 65 61 64 20 |s..Used |instead |
|00003b30| 6f 66 20 45 6e 64 55 70 | 64 61 74 65 20 74 6f 20 |of EndUp|date to |
|00003b40| 62 61 6c 61 6e 63 65 20 | 42 65 67 69 6e 46 72 61 |balance |BeginFra|
|00003b50| 6d 65 20 63 61 6c 6c 73 | 2e 0d 43 68 65 63 6b 73 |me calls|..Checks|
|00003b60| 20 74 6f 20 73 65 65 20 | 69 66 20 74 77 6f 20 62 | to see |if two b|
|00003b70| 6c 6f 63 6b 73 20 6f 66 | 20 64 61 74 61 20 61 72 |locks of| data ar|
|00003b80| 65 20 69 64 65 6e 74 69 | 63 61 6c 2e 0d 43 68 65 |e identi|cal..Che|
|00003b90| 63 6b 73 20 74 6f 20 73 | 65 65 20 69 66 20 74 77 |cks to s|ee if tw|
|00003ba0| 6f 20 68 61 6e 64 6c 65 | 73 20 61 72 65 20 69 64 |o handle|s are id|
|00003bb0| 65 6e 74 69 63 61 6c 2e | 0d 43 6f 6d 70 61 72 65 |entical.|.Compare|
|00003bc0| 20 74 68 65 20 64 61 74 | 61 20 61 72 65 61 20 6f | the dat|a area o|
|00003bd0| 66 20 74 77 6f 20 54 72 | 65 65 4f 62 6a 20 6f 62 |f two Tr|eeObj ob|
|00003be0| 6a 65 63 74 73 2e 0d 44 | 69 73 70 6c 61 79 20 61 |jects..D|isplay a|
|00003bf0| 6e 20 61 6c 65 72 74 20 | 74 68 61 74 20 74 65 6c |n alert |that tel|
|00003c00| 6c 73 20 74 68 65 20 75 | 73 65 72 20 61 6e 20 65 |ls the u|ser an e|
|00003c10| 72 72 6f 72 20 6f 63 63 | 75 72 72 65 64 2e 0d 44 |rror occ|urred..D|
|00003c20| 69 73 70 6c 61 79 20 61 | 6e 20 61 6c 65 72 74 20 |isplay a|n alert |
|00003c30| 74 68 61 74 20 74 65 6c | 6c 73 20 74 68 65 20 75 |that tel|ls the u|
|00003c40| 73 65 72 20 61 6e 20 65 | 72 72 6f 72 20 6f 63 63 |ser an e|rror occ|
|00003c50| 75 72 72 65 64 2e 0d 46 | 69 6e 64 20 74 68 65 20 |urred..F|ind the |
|00003c60| 6d 65 6e 75 20 69 74 65 | 6d 20 6e 75 6d 62 65 72 |menu ite|m number|
|00003c70| 2c 20 67 69 76 65 6e 20 | 74 68 65 20 74 65 78 74 |, given |the text|
|00003c80| 20 6f 66 20 74 68 65 20 | 6d 65 6e 75 2e 0d 46 69 | of the |menu..Fi|
|00003c90| 6e 64 53 79 73 46 6f 6c | 64 65 72 20 72 65 74 75 |ndSysFol|der retu|
|00003ca0| 72 6e 73 20 72 65 61 6c | 20 76 52 65 66 4e 75 6d |rns real| vRefNum|
|00003cb0| 2c 20 61 6e 64 20 74 68 | 65 20 44 69 72 49 44 20 |, and th|e DirID |
|00003cc0| 6f 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |of the c|urrent s|
|00003cd0| 79 73 74 65 6d 20 66 6f | 6c 64 65 72 2e 0d a5 41 |ystem fo|lder...A|
|00003ce0| 70 70 57 61 6e 6e 61 62 | 65 20 28 57 69 6e 64 6f |ppWannab|e (Windo|
|00003cf0| 77 2e 63 29 2e 20 20 43 | 61 6c 6c 65 64 20 62 79 |w.c). C|alled by|
|00003d00| 20 66 72 61 6d 65 77 6f | 72 6b 20 74 6f 20 6c 65 | framewo|rk to le|
|00003d10| 74 20 61 70 70 20 66 72 | 65 65 20 75 70 20 72 65 |t app fr|ee up re|
|00003d20| 6c 61 74 65 64 20 6d 65 | 6d 6f 72 79 2e 0d a5 41 |lated me|mory...A|
|00003d30| 70 70 57 61 6e 6e 61 62 | 65 20 28 57 69 6e 64 6f |ppWannab|e (Windo|
|00003d40| 77 2e 63 29 2e 20 20 43 | 61 6c 6c 65 64 20 62 79 |w.c). C|alled by|
|00003d50| 20 66 72 61 6d 65 77 6f | 72 6b 20 74 6f 20 6c 65 | framewo|rk to le|
|00003d60| 74 20 61 70 70 20 66 72 | 65 65 20 75 70 20 72 65 |t app fr|ee up re|
|00003d70| 6c 61 74 65 64 20 6d 65 | 6d 6f 72 79 2e 0d 47 65 |lated me|mory..Ge|
|00003d80| 74 20 66 72 6f 6e 74 2d | 6d 6f 73 74 20 77 69 6e |t front-|most win|
|00003d90| 64 6f 77 20 6d 65 65 74 | 69 6e 67 20 63 72 69 74 |dow meet|ing crit|
|00003da0| 65 72 69 61 2e 0d 44 65 | 74 65 72 6d 69 6e 65 20 |eria..De|termine |
|00003db0| 77 68 69 63 68 20 77 69 | 6e 64 6f 77 20 69 73 20 |which wi|ndow is |
|00003dc0| 74 68 65 20 41 70 70 6c | 65 45 76 65 6e 74 20 74 |the Appl|eEvent t|
|00003dd0| 61 72 67 65 74 20 77 69 | 6e 64 6f 77 2e 0d 47 65 |arget wi|ndow..Ge|
|00003de0| 74 41 70 70 49 6e 64 52 | 65 73 6f 75 72 63 65 20 |tAppIndR|esource |
|00003df0| 67 65 74 73 20 61 20 72 | 65 73 6f 75 72 63 65 20 |gets a r|esource |
|00003e00| 66 72 6f 6d 20 74 68 65 | 20 61 70 70 6c 69 63 61 |from the| applica|
|00003e10| 74 69 6f 6e 27 73 20 72 | 65 73 20 66 69 6c 65 20 |tion's r|es file |
|00003e20| 62 79 20 69 6e 64 65 78 | 2e 0d 47 65 74 41 70 70 |by index|..GetApp|
|00003e30| 49 6e 64 52 65 73 6f 75 | 72 63 65 20 67 65 74 73 |IndResou|rce gets|
|00003e40| 20 61 20 72 65 73 6f 75 | 72 63 65 20 66 72 6f 6d | a resou|rce from|
|00003e50| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00003e60| 27 73 20 72 65 73 20 66 | 69 6c 65 20 62 79 20 6e |'s res f|ile by n|
|00003e70| 61 6d 65 2e 0d 47 65 74 | 41 70 70 49 6e 64 52 65 |ame..Get|AppIndRe|
|00003e80| 73 6f 75 72 63 65 20 67 | 65 74 73 20 61 20 72 65 |source g|ets a re|
|00003e90| 73 6f 75 72 63 65 20 66 | 72 6f 6d 20 74 68 65 20 |source f|rom the |
|00003ea0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 27 73 20 72 65 |applicat|ion's re|
|00003eb0| 73 20 66 69 6c 65 20 62 | 79 20 49 44 2e 0d 43 68 |s file b|y ID..Ch|
|00003ec0| 65 63 6b 73 20 66 6f 72 | 20 74 68 65 20 70 72 65 |ecks for| the pre|
|00003ed0| 73 65 6e 63 65 20 6f 66 | 20 41 2f 55 58 20 62 79 |sence of| A/UX by|
|00003ee0| 20 77 68 61 74 65 76 65 | 72 20 6d 65 61 6e 73 20 | whateve|r means |
|00003ef0| 69 73 20 61 70 70 72 6f | 70 72 69 61 74 65 2e 0d |is appro|priate..|
|00003f00| 52 65 74 75 72 6e 20 74 | 68 65 20 62 6f 74 74 6f |Return t|he botto|
|00003f10| 6d 20 6c 61 79 65 72 20 | 69 6e 20 74 68 65 20 68 |m layer |in the h|
|00003f20| 69 65 72 61 72 63 68 79 | 2e 0d 52 65 74 75 72 6e |ierarchy|..Return|
|00003f30| 73 20 77 68 69 63 68 20 | 6b 69 6e 64 20 6f 66 20 |s which |kind of |
|00003f40| 62 75 74 74 6f 6e 20 74 | 68 65 20 63 6f 6e 74 72 |button t|he contr|
|00003f50| 6f 6c 20 69 73 2e 0d 47 | 69 76 65 6e 20 61 6e 20 |ol is..G|iven an |
|00003f60| 6f 66 66 73 65 74 20 69 | 6e 20 74 68 65 20 6f 62 |offset i|n the ob|
|00003f70| 6a 65 63 74 27 73 20 64 | 61 74 61 2c 20 67 65 74 |ject's d|ata, get|
|00003f80| 20 74 68 65 20 30 2d 74 | 65 72 6d 69 6e 61 74 65 | the 0-t|erminate|
|00003f90| 64 20 64 61 74 61 2e 0d | 43 65 6e 74 65 72 20 74 |d data..|Center t|
|00003fa0| 68 65 20 77 69 6e 64 6f | 77 20 6f 6e 20 74 68 65 |he windo|w on the|
|00003fb0| 20 73 61 6d 65 20 64 65 | 76 69 63 65 20 61 73 20 | same de|vice as |
|00003fc0| 74 68 65 20 72 65 6c 61 | 74 65 64 20 77 69 6e 64 |the rela|ted wind|
|00003fd0| 6f 77 2e 0d 52 65 74 75 | 72 6e 20 63 68 65 63 6b |ow..Retu|rn check|
|00003fe0| 42 6f 78 20 76 61 6c 75 | 65 73 2c 20 65 6e 2d 6d |Box valu|es, en-m|
|00003ff0| 61 73 73 65 2e 0d 52 65 | 74 75 72 6e 20 74 72 75 |asse..Re|turn tru|
|00004000| 65 20 69 66 20 64 69 61 | 6c 6f 67 20 69 74 65 6d |e if dia|log item|
|00004010| 20 69 73 20 61 20 63 68 | 65 63 6b 20 62 6f 78 20 | is a ch|eck box |
|00004020| 6f 72 20 72 61 64 69 6f | 20 62 75 74 74 6f 6e 2e |or radio| button.|
|00004030| 0d 47 69 76 65 6e 20 61 | 20 70 61 72 65 6e 74 20 |.Given a| parent |
|00004040| 68 61 6e 64 6c 65 20 61 | 6e 64 20 61 20 63 68 69 |handle a|nd a chi|
|00004050| 6c 64 20 6e 75 6d 62 65 | 72 2c 20 74 68 69 73 20 |ld numbe|r, this |
|00004060| 72 65 74 75 72 6e 73 20 | 74 68 65 20 63 68 69 6c |returns |the chil|
|00004070| 64 20 68 61 6e 64 6c 65 | 2e 0d 52 65 74 75 72 6e |d handle|..Return|
|00004080| 20 61 20 70 6f 69 6e 74 | 65 72 20 69 6e 74 6f 20 | a point|er into |
|00004090| 74 68 65 20 63 68 69 6c | 64 20 68 61 6e 64 6c 65 |the chil|d handle|
|000040a0| 20 74 61 62 6c 65 2e 0d | 47 69 76 65 6e 20 61 20 | table..|Given a |
|000040b0| 63 68 69 6c 64 20 68 61 | 6e 64 6c 65 2c 20 72 65 |child ha|ndle, re|
|000040c0| 74 75 72 6e 20 70 6f 73 | 73 74 69 6f 6e 20 6f 66 |turn pos|stion of|
|000040d0| 20 69 74 20 69 6e 20 74 | 68 65 20 70 61 72 65 6e | it in t|he paren|
|000040e0| 74 27 73 20 63 68 69 6c | 64 20 68 61 6e 64 6c 65 |t's chil|d handle|
|000040f0| 20 74 61 62 6c 65 2e 0d | 52 65 74 75 72 6e 20 74 | table..|Return t|
|00004100| 68 65 20 6f 72 69 67 69 | 6e 20 6f 66 20 74 68 65 |he origi|n of the|
|00004110| 20 63 6f 6e 74 65 6e 74 | 20 6f 66 20 74 68 65 20 | content| of the |
|00004120| 77 69 6e 64 6f 77 2e 0d | 47 65 74 20 62 6f 75 6e |window..|Get boun|
|00004130| 64 69 6e 67 20 72 65 63 | 74 20 6f 66 20 74 68 65 |ding rec|t of the|
|00004140| 20 63 6f 6e 74 65 6e 74 | 20 61 72 65 61 20 6f 66 | content| area of|
|00004150| 20 74 68 65 20 77 69 6e | 64 6f 77 2e 0d 47 65 74 | the win|dow..Get|
|00004160| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 27 73 20 49 | the con|trol's I|
|00004170| 44 20 6f 75 74 20 6f 66 | 20 74 68 65 20 63 6f 6e |D out of| the con|
|00004180| 74 72 6f 6c 27 73 20 65 | 78 74 65 6e 64 65 64 20 |trol's e|xtended |
|00004190| 63 6f 6e 74 72 6f 6c 20 | 72 65 63 6f 72 64 2e 0d |control |record..|
|000041a0| 52 65 74 75 72 6e 20 44 | 61 74 61 20 63 6f 6e 74 |Return D|ata cont|
|000041b0| 72 6f 6c 20 74 68 61 74 | 20 68 61 73 20 72 65 66 |rol that| has ref|
|000041c0| 65 72 65 6e 63 65 20 74 | 6f 20 61 6c 6c 20 63 6f |erence t|o all co|
|000041d0| 6e 74 72 6f 6c 73 20 69 | 6e 20 63 6f 6e 74 72 6f |ntrols i|n contro|
|000041e0| 6c 20 73 65 74 2e 0d 47 | 65 74 20 74 68 65 20 65 |l set..G|et the e|
|000041f0| 78 74 65 6e 64 65 64 20 | 63 6f 6e 74 72 6f 6c 20 |xtended |control |
|00004200| 72 65 63 6f 72 64 20 66 | 6f 72 20 74 68 65 20 63 |record f|or the c|
|00004210| 6f 6e 74 72 6f 6c 2e 0d | 47 65 74 20 70 6f 69 6e |ontrol..|Get poin|
|00004220| 74 65 72 20 69 6e 74 6f | 20 64 61 74 61 20 61 72 |ter into| data ar|
|00004230| 65 61 20 6f 66 20 6f 62 | 6a 65 63 74 20 66 6f 72 |ea of ob|ject for|
|00004240| 20 63 6f 6d 70 6c 65 78 | 20 64 61 74 61 20 61 72 | complex| data ar|
|00004250| 65 61 20 64 65 66 69 6e | 69 74 69 6f 6e 73 2e 0d |ea defin|itions..|
|00004260| 52 65 74 75 72 6e 73 20 | 61 20 70 6f 69 6e 74 65 |Returns |a pointe|
|00004270| 72 20 74 6f 20 74 68 65 | 20 62 65 67 69 6e 6e 69 |r to the| beginni|
|00004280| 6e 67 20 6f 66 20 74 68 | 65 20 6f 62 6a 65 63 74 |ng of th|e object|
|00004290| 27 73 20 64 61 74 61 20 | 61 72 65 61 2e 0d 46 69 |'s data |area..Fi|
|000042a0| 6e 64 20 6f 75 74 20 69 | 66 20 74 68 65 20 64 6f |nd out i|f the do|
|000042b0| 63 75 6d 65 6e 74 20 69 | 73 20 64 69 72 74 79 2e |cument i|s dirty.|
|000042c0| 0d 47 65 74 20 74 68 65 | 20 65 66 66 65 63 74 69 |.Get the| effecti|
|000042d0| 76 65 20 28 6c 6f 67 69 | 63 61 6c 29 20 64 65 73 |ve (logi|cal) des|
|000042e0| 74 69 6e 61 74 69 6f 6e | 20 72 65 63 74 20 66 6f |tination| rect fo|
|000042f0| 72 20 74 68 65 20 6c 61 | 79 65 72 2e 0d 47 65 74 |r the la|yer..Get|
|00004300| 20 74 68 65 20 65 66 66 | 65 63 74 69 76 65 20 28 | the eff|ective (|
|00004310| 6c 6f 67 69 63 61 6c 29 | 20 73 6f 75 72 63 65 20 |logical)| source |
|00004320| 72 65 63 74 20 66 6f 72 | 20 74 68 65 20 6c 61 79 |rect for| the lay|
|00004330| 65 72 2e 0d 47 65 74 20 | 76 52 65 66 4e 75 6d 2c |er..Get |vRefNum,|
|00004340| 20 64 69 72 49 44 2c 20 | 61 6e 64 20 66 69 6c 65 | dirID, |and file|
|00004350| 4e 61 6d 65 20 6f 66 20 | 61 20 66 69 6c 65 2e 0d |Name of |a file..|
|00004360| 47 65 74 20 74 68 65 20 | 66 75 6c 6c 20 70 61 74 |Get the |full pat|
|00004370| 68 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 61 70 70 |hname of| the app|
|00004380| 6c 69 63 61 74 69 6f 6e | 2e 0d 52 65 74 75 72 6e |lication|..Return|
|00004390| 73 20 74 68 65 20 72 65 | 73 75 6c 74 20 76 61 6c |s the re|sult val|
|000043a0| 75 65 20 66 72 6f 6d 20 | 47 65 73 74 61 6c 74 20 |ue from |Gestalt |
|000043b0| 66 6f 72 20 74 68 65 20 | 73 70 65 63 69 66 69 65 |for the |specifie|
|000043c0| 64 20 73 65 6c 65 63 74 | 6f 72 2e 0d 52 65 74 75 |d select|or..Retu|
|000043d0| 72 6e 73 20 74 68 65 20 | 6c 6f 63 61 74 69 6f 6e |rns the |location|
|000043e0| 20 6f 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 6e | of the |mouse in|
|000043f0| 20 6c 6f 63 61 6c 20 63 | 6f 6f 72 64 69 6e 61 74 | local c|oordinat|
|00004400| 65 73 2e 0d 52 65 74 75 | 72 6e 20 74 68 65 20 74 |es..Retu|rn the t|
|00004410| 6f 70 20 6c 65 66 74 20 | 70 6f 69 6e 74 20 6f 66 |op left |point of|
|00004420| 20 74 68 65 20 77 69 6e | 64 6f 77 d5 73 20 70 6f | the win|dow.s po|
|00004430| 72 74 20 69 6e 20 67 6c | 6f 62 61 6c 20 63 6f 6f |rt in gl|obal coo|
|00004440| 72 64 69 6e 61 74 65 73 | 2e 0d 49 6e 74 65 72 6e |rdinates|..Intern|
|00004450| 61 6c 20 66 75 6e 63 74 | 69 6f 6e 20 66 6f 72 20 |al funct|ion for |
|00004460| 72 65 74 75 72 6e 69 6e | 67 20 61 20 68 65 78 20 |returnin|g a hex |
|00004470| 76 61 6c 75 65 20 66 72 | 6f 6d 20 32 20 63 68 61 |value fr|om 2 cha|
|00004480| 72 61 63 74 65 72 73 2e | 0d 52 65 74 75 72 6e 20 |racters.|.Return |
|00004490| 74 68 65 20 61 6d 6f 75 | 6e 74 20 6f 66 20 66 72 |the amou|nt of fr|
|000044a0| 65 65 20 73 70 61 63 65 | 20 6f 6e 20 74 68 65 20 |ee space| on the |
|000044b0| 76 6f 6c 75 6d 65 20 69 | 6e 20 4b 42 79 74 65 73 |volume i|n KBytes|
|000044c0| 2e 0d 52 65 74 75 72 6e | 73 20 77 68 61 74 20 62 |..Return|s what b|
|000044d0| 61 73 65 20 77 61 73 20 | 75 73 65 64 20 77 68 65 |ase was |used whe|
|000044e0| 6e 20 74 65 78 74 20 69 | 73 20 63 6f 6e 76 65 72 |n text i|s conver|
|000044f0| 74 65 64 20 74 6f 20 61 | 20 6e 75 6d 20 61 6e 64 |ted to a| num and|
|00004500| 20 73 65 74 73 20 6d 6f | 64 65 2e 0d 52 65 74 75 | sets mo|de..Retu|
|00004510| 72 6e 20 74 68 65 20 6c | 61 79 65 72 20 70 6f 73 |rn the l|ayer pos|
|00004520| 69 74 69 6f 6e 20 69 6e | 20 74 68 65 20 68 69 65 |ition in| the hie|
|00004530| 72 61 72 63 68 79 2e 0d | 52 65 74 75 72 6e 20 72 |rarchy..|Return r|
|00004540| 65 63 74 20 6f 66 20 6d | 61 69 6e 20 73 63 72 65 |ect of m|ain scre|
|00004550| 65 6e 2c 20 69 2e 65 2e | 2c 20 74 68 65 20 73 63 |en, i.e.|, the sc|
|00004560| 72 65 65 6e 20 77 69 74 | 68 20 74 68 65 20 77 69 |reen wit|h the wi|
|00004570| 6e 64 6f 77 20 62 61 72 | 2e 0d 47 65 74 20 6d 6f |ndow bar|..Get mo|
|00004580| 64 69 66 69 63 61 74 69 | 6f 6e 20 6e 75 6d 62 65 |dificati|on numbe|
|00004590| 72 20 6f 66 20 64 6f 63 | 75 6d 65 6e 74 2e 0d 49 |r of doc|ument..I|
|000045a0| 74 65 72 61 74 6f 72 20 | 74 6f 20 77 61 6c 6b 20 |terator |to walk |
|000045b0| 77 69 6e 64 6f 77 20 6c | 69 73 74 20 61 6e 64 20 |window l|ist and |
|000045c0| 72 65 74 75 72 6e 20 74 | 68 65 20 6e 65 78 74 20 |return t|he next |
|000045d0| 64 6f 63 75 6d 65 6e 74 | 20 6f 66 20 63 6f 72 72 |document| of corr|
|000045e0| 65 63 74 20 74 79 70 65 | 2e 0d 49 74 65 72 61 74 |ect type|..Iterat|
|000045f0| 6f 72 20 74 6f 20 77 61 | 6c 6b 20 77 69 6e 64 6f |or to wa|lk windo|
|00004600| 77 20 6c 69 73 74 20 61 | 6e 64 20 72 65 74 75 72 |w list a|nd retur|
|00004610| 6e 20 74 68 65 20 6e 65 | 78 74 20 64 6f 63 75 6d |n the ne|xt docum|
|00004620| 65 6e 74 20 77 69 6e 64 | 6f 77 20 6f 66 20 63 6f |ent wind|ow of co|
|00004630| 72 72 65 63 74 20 74 79 | 70 65 2e 0d 47 69 76 65 |rrect ty|pe..Give|
|00004640| 6e 20 61 6e 20 6f 66 66 | 73 65 74 20 69 6e 20 74 |n an off|set in t|
|00004650| 68 65 20 6f 62 6a 65 63 | 74 27 73 20 64 61 74 61 |he objec|t's data|
|00004660| 2c 20 67 65 74 20 74 68 | 65 20 70 61 73 63 61 6c |, get th|e pascal|
|00004670| 20 73 74 72 69 6e 67 20 | 64 61 74 61 2e 0d 47 69 | string |data..Gi|
|00004680| 76 65 6e 20 61 20 64 69 | 61 6c 6f 67 20 61 6e 64 |ven a di|alog and|
|00004690| 20 69 74 73 20 69 74 65 | 6d 20 6e 75 6d 62 65 72 | its ite|m number|
|000046a0| 20 61 6e 64 2c 20 72 65 | 74 75 72 6e 20 74 68 65 | and, re|turn the|
|000046b0| 20 63 6f 6e 74 72 6f 6c | 20 68 61 6e 64 6c 65 20 | control| handle |
|000046c0| 66 6f 72 20 74 68 65 20 | 70 6f 70 75 70 2e 0d 47 |for the |popup..G|
|000046d0| 69 76 65 6e 20 61 20 64 | 69 61 6c 6f 67 20 61 6e |iven a d|ialog an|
|000046e0| 64 20 69 74 73 20 69 74 | 65 6d 20 6e 75 6d 62 65 |d its it|em numbe|
|000046f0| 72 20 61 6e 64 2c 20 72 | 65 74 75 72 6e 20 74 68 |r and, r|eturn th|
|00004700| 65 20 63 6f 6e 74 72 6f | 6c 20 68 61 6e 64 6c 65 |e contro|l handle|
|00004710| 20 66 6f 72 20 74 68 65 | 20 70 6f 70 75 70 2e 0d | for the| popup..|
|00004720| 47 69 76 65 6e 20 61 20 | 70 6f 70 75 70 20 63 6f |Given a |popup co|
|00004730| 6e 74 72 6f 6c 2c 20 72 | 65 74 75 72 6e 20 74 68 |ntrol, r|eturn th|
|00004740| 65 20 6d 65 6e 75 20 68 | 61 6e 64 6c 65 20 66 72 |e menu h|andle fr|
|00004750| 6f 6d 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 2e 0d |om the c|ontrol..|
|00004760| 47 65 74 20 61 20 70 72 | 65 66 65 72 65 6e 63 65 |Get a pr|eference|
|00004770| 73 20 72 65 66 65 72 65 | 6e 63 65 20 62 79 20 74 |s refere|nce by t|
|00004780| 79 70 65 2e 0d 52 65 74 | 75 72 6e 20 74 68 65 20 |ype..Ret|urn the |
|00004790| 77 69 6e 64 6f 77 20 69 | 6e 20 66 72 6f 6e 74 20 |window i|n front |
|000047a0| 6f 66 20 69 6e 64 69 63 | 61 74 65 64 20 77 69 6e |of indic|ated win|
|000047b0| 64 6f 77 2e 0d 44 65 74 | 65 72 6d 69 6e 65 20 77 |dow..Det|ermine w|
|000047c0| 68 69 63 68 20 72 61 64 | 69 6f 20 62 75 74 74 6f |hich rad|io butto|
|000047d0| 6e 20 69 73 20 73 65 6c | 65 63 74 65 64 20 69 6e |n is sel|ected in|
|000047e0| 20 61 20 66 61 6d 69 6c | 79 2e 0d 46 69 6e 64 20 | a famil|y..Find |
|000047f0| 74 68 65 20 67 72 65 61 | 74 65 73 74 20 6f 76 65 |the grea|test ove|
|00004800| 72 6c 61 70 20 64 65 76 | 69 63 65 20 66 6f 72 20 |rlap dev|ice for |
|00004810| 74 68 65 20 67 69 76 65 | 6e 20 67 6c 6f 62 61 6c |the give|n global|
|00004820| 20 72 65 63 74 61 6e 67 | 6c 65 2e 0d 46 69 6e 64 | rectang|le..Find|
|00004830| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 74 68 65 | the rec|t of the|
|00004840| 20 67 72 65 61 74 65 73 | 74 20 6f 76 65 72 6c 61 | greates|t overla|
|00004850| 70 20 64 65 76 69 63 65 | 20 66 6f 72 20 74 68 65 |p device| for the|
|00004860| 20 67 69 76 65 6e 20 67 | 6c 6f 62 61 6c 20 72 65 | given g|lobal re|
|00004870| 63 74 2e 0d 47 65 74 20 | 72 65 6d 6f 74 65 20 69 |ct..Get |remote i|
|00004880| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 66 72 6f 6d 20 |nformati|on from |
|00004890| 74 68 65 20 6d 61 63 68 | 69 6e 65 20 74 68 61 74 |the mach|ine that|
|000048a0| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 69 | this do|cument i|
|000048b0| 73 20 63 6f 6e 6e 65 63 | 74 65 64 20 74 6f 2e 0d |s connec|ted to..|
|000048c0| 47 69 76 65 6e 20 61 6e | 20 6f 62 6a 65 63 74 20 |Given an| object |
|000048d0| 68 61 6e 64 6c 65 2c 20 | 72 65 74 75 72 6e 20 74 |handle, |return t|
|000048e0| 68 65 20 72 6f 6f 74 20 | 68 61 6e 64 6c 65 2e 0d |he root |handle..|
|000048f0| 41 64 64 20 28 6f 72 20 | 72 65 6d 6f 76 65 29 20 |Add (or |remove) |
|00004900| 77 69 6e 64 6f 77 2d 66 | 6f 72 6d 61 74 20 72 65 |window-f|ormat re|
|00004910| 73 6f 75 72 63 65 20 64 | 65 66 69 6e 69 74 69 6f |source d|efinitio|
|00004920| 6e 20 74 6f 20 67 6c 6f | 62 61 6c 20 67 57 69 6e |n to glo|bal gWin|
|00004930| 64 6f 77 46 6f 72 6d 61 | 74 73 2e 0d 53 74 61 67 |dowForma|ts..Stag|
|00004940| 67 65 72 20 74 68 65 20 | 77 69 6e 64 6f 77 20 6f |ger the |window o|
|00004950| 6e 20 74 68 65 20 73 61 | 6d 65 20 64 65 76 69 63 |n the sa|me devic|
|00004960| 65 20 61 73 20 74 68 65 | 20 72 65 6c 61 74 65 64 |e as the| related|
|00004970| 20 77 69 6e 64 6f 77 2e | 0d 53 65 74 73 20 75 70 | window.|.Sets up|
|00004980| 20 73 6f 6d 65 20 67 6c | 6f 62 61 6c 20 76 61 72 | some gl|obal var|
|00004990| 69 61 62 6c 65 73 20 66 | 6f 72 20 75 73 65 20 62 |iables f|or use b|
|000049a0| 79 20 74 68 65 20 75 74 | 69 6c 69 74 69 65 73 20 |y the ut|ilities |
|000049b0| 70 61 63 6b 61 67 65 20 | 61 6e 64 20 79 6f 75 72 |package |and your|
|000049c0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 0d 52 65 | applica|tion..Re|
|000049d0| 74 75 72 6e 20 7a 6f 6e | 65 2c 20 6d 61 63 68 69 |turn zon|e, machi|
|000049e0| 6e 65 2c 20 61 6e 64 20 | 61 70 70 6c 69 63 61 74 |ne, and |applicat|
|000049f0| 69 6f 6e 20 6e 61 6d 65 | 20 66 6f 72 20 74 61 72 |ion name| for tar|
|00004a00| 67 65 74 44 65 73 63 2e | 0d 52 65 74 75 72 6e 20 |getDesc.|.Return |
|00004a10| 74 68 65 20 74 6f 70 20 | 6c 61 79 65 72 20 69 6e |the top |layer in|
|00004a20| 20 74 68 65 20 68 69 65 | 72 61 72 63 68 79 2e 0d | the hie|rarchy..|
|00004a30| 52 65 74 75 72 6e 73 20 | 74 68 65 20 74 79 70 65 |Returns |the type|
|00004a40| 20 28 4f 53 54 79 70 65 | 20 6f 72 20 54 6f 6f 6c | (OSType| or Tool|
|00004a50| 54 79 70 65 29 20 6f 66 | 20 74 68 65 20 74 72 61 |Type) of| the tra|
|00004a60| 70 2e 0d 47 69 76 65 6e | 20 61 6e 20 6f 62 6a 65 |p..Given| an obje|
|00004a70| 63 74 20 68 61 6e 64 6c | 65 2c 20 72 65 74 75 72 |ct handl|e, retur|
|00004a80| 6e 20 74 68 65 20 75 6e | 64 6f 20 68 61 6e 64 6c |n the un|do handl|
|00004a90| 65 2e 0d 52 65 74 75 72 | 6e 20 74 68 65 20 64 65 |e..Retur|n the de|
|00004aa0| 70 74 68 20 6f 66 20 74 | 68 65 20 75 6e 64 6f 20 |pth of t|he undo |
|00004ab0| 73 74 61 74 65 2c 20 61 | 6c 6f 6e 67 20 77 69 74 |state, a|long wit|
|00004ac0| 68 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |h the nu|mber of |
|00004ad0| 75 6e 64 6f 73 2e 0d 47 | 69 76 65 6e 20 74 68 65 |undos..G|iven the|
|00004ae0| 20 6f 6c 64 20 73 69 7a | 65 2c 20 74 68 69 73 20 | old siz|e, this |
|00004af0| 72 65 74 75 72 6e 73 20 | 74 68 65 20 64 69 66 66 |returns |the diff|
|00004b00| 65 72 65 6e 63 65 20 62 | 65 74 77 65 65 6e 20 74 |erence b|etween t|
|00004b10| 68 65 20 6f 6c 64 20 73 | 69 7a 65 20 61 6e 64 20 |he old s|ize and |
|00004b20| 74 68 65 20 6e 65 77 20 | 73 69 7a 65 2e 0d 47 65 |the new |size..Ge|
|00004b30| 74 20 74 68 65 20 67 6c | 6f 62 61 6c 20 72 65 63 |t the gl|obal rec|
|00004b40| 74 61 6e 67 6c 65 20 74 | 68 61 74 20 65 6e 63 6c |tangle t|hat encl|
|00004b50| 6f 73 65 73 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |oses the| content|
|00004b60| 20 61 72 65 61 20 6f 66 | 20 74 68 65 20 77 69 6e | area of| the win|
|00004b70| 64 6f 77 2e 0d 43 6f 75 | 6e 74 73 20 74 68 65 20 |dow..Cou|nts the |
|00004b80| 6e 75 6d 62 65 72 20 6f | 66 20 77 69 6e 64 6f 77 |number o|f window|
|00004b90| 73 20 69 6e 20 74 68 65 | 20 61 70 70 6c 69 63 61 |s in the| applica|
|00004ba0| 74 69 6f 6e 20 70 6c 61 | 6e 65 2e 0d 46 69 6e 64 |tion pla|ne..Find|
|00004bb0| 20 74 68 65 20 67 72 65 | 61 74 65 73 74 20 6f 76 | the gre|atest ov|
|00004bc0| 65 72 6c 61 70 20 64 65 | 76 69 63 65 20 66 6f 72 |erlap de|vice for|
|00004bd0| 20 74 68 65 20 67 69 76 | 65 6e 20 77 69 6e 64 6f | the giv|en windo|
|00004be0| 77 2e 0d 46 69 6e 64 20 | 64 65 76 69 63 65 20 74 |w..Find |device t|
|00004bf0| 68 61 74 20 63 6f 6e 74 | 61 69 6e 73 20 6d 6f 73 |hat cont|ains mos|
|00004c00| 74 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |t of the| window |
|00004c10| 61 6e 64 20 72 65 74 75 | 72 6e 20 64 65 76 69 63 |and retu|rn devic|
|00004c20| 65 27 73 20 62 6f 75 6e | 64 69 6e 67 20 72 65 63 |e's boun|ding rec|
|00004c30| 74 61 6e 67 6c 65 2e 0d | 42 6f 75 6e 64 69 6e 67 |tangle..|Bounding|
|00004c40| 20 72 65 63 74 20 6f 66 | 20 64 65 76 69 63 65 20 | rect of| device |
|00004c50| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 6d 6f 73 74 20 |containi|ng most |
|00004c60| 6f 66 20 74 68 65 20 77 | 69 6e 64 6f 77 2c 20 6c |of the w|indow, l|
|00004c70| 65 73 73 20 6d 65 6e 75 | 20 62 61 72 2e 0d 46 69 |ess menu| bar..Fi|
|00004c80| 6e 64 20 6f 75 74 20 69 | 66 20 61 20 77 69 6e 64 |nd out i|f a wind|
|00004c90| 6f 77 d5 73 20 64 6f 63 | 75 6d 65 6e 74 20 69 73 |ow.s doc|ument is|
|00004ca0| 20 64 69 72 74 79 2e 0d | 52 65 61 64 20 69 6e 20 | dirty..|Read in |
|00004cb0| 61 6e 64 20 75 6e 66 6c | 61 74 74 65 6e 20 72 65 |and unfl|atten re|
|00004cc0| 73 6f 75 72 63 65 20 27 | 57 46 4d 54 27 20 23 31 |source '|WFMT' #1|
|00004cd0| 32 38 2e 0d 47 65 74 20 | 74 68 65 20 72 65 63 74 |28..Get |the rect|
|00004ce0| 61 6e 67 6c 65 20 74 68 | 61 74 20 73 75 72 72 6f |angle th|at surro|
|00004cf0| 75 6e 64 73 20 74 68 65 | 20 65 6e 74 69 72 65 20 |unds the| entire |
|00004d00| 73 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 77 |structur|e of a w|
|00004d10| 69 6e 64 6f 77 2e 0d 43 | 6f 6e 76 65 72 74 20 74 |indow..C|onvert t|
|00004d20| 68 65 20 67 6c 6f 62 61 | 6c 20 72 65 63 74 20 74 |he globa|l rect t|
|00004d30| 6f 20 6c 6f 63 61 6c 20 | 63 6f 6f 72 64 69 6e 61 |o local |coordina|
|00004d40| 74 65 73 2c 20 62 61 73 | 65 64 20 6f 6e 20 74 68 |tes, bas|ed on th|
|00004d50| 65 20 63 75 72 72 65 6e | 74 20 67 72 61 66 50 6f |e curren|t grafPo|
|00004d60| 72 74 2e 0d 50 75 74 20 | 75 70 20 61 6e 20 61 6c |rt..Put |up an al|
|00004d70| 65 72 74 2c 20 61 6e 64 | 20 61 6c 73 6f 20 6d 61 |ert, and| also ma|
|00004d80| 6b 65 20 73 75 72 65 20 | 74 68 61 74 20 68 69 6c |ke sure |that hil|
|00004d90| 69 74 69 6e 67 20 6f 66 | 20 6f 74 68 65 72 20 77 |iting of| other w|
|00004da0| 69 6e 64 6f 77 73 20 69 | 73 20 63 6f 72 72 65 63 |indows i|s correc|
|00004db0| 74 2e 0d 48 69 64 65 20 | 61 20 76 69 73 69 62 6c |t..Hide |a visibl|
|00004dc0| 65 20 41 70 70 73 54 6f | 47 6f 20 73 74 79 6c 65 |e AppsTo|Go style|
|00004dd0| 64 20 63 6f 6e 74 72 6f | 6c 2e 0d 48 69 6c 69 74 |d contro|l..Hilit|
|00004de0| 65 20 63 75 72 72 65 6e | 74 20 7a 6f 6e 65 20 69 |e curren|t zone i|
|00004df0| 6e 20 7a 6f 6e 65 20 6c | 69 73 74 2e 0d 4d 61 6b |n zone l|ist..Mak|
|00004e00| 65 73 20 73 75 72 65 20 | 74 68 61 74 20 74 68 65 |es sure |that the|
|00004e10| 20 68 69 6c 69 74 69 6e | 67 20 6f 66 20 77 69 6e | hilitin|g of win|
|00004e20| 64 6f 77 73 20 69 73 20 | 63 6f 72 72 65 63 74 2e |dows is |correct.|
|00004e30| 0d 43 6f 6e 76 65 72 74 | 20 61 20 68 61 6e 64 6c |.Convert| a handl|
|00004e40| 65 20 72 65 66 65 72 65 | 6e 63 65 20 69 6e 74 6f |e refere|nce into|
|00004e50| 20 61 20 74 72 65 65 49 | 44 20 72 65 66 65 72 65 | a treeI|D refere|
|00004e60| 6e 63 65 2e 0d 52 65 63 | 75 72 73 69 76 65 6c 79 |nce..Rec|ursively|
|00004e70| 20 64 69 73 73 65 63 74 | 73 20 74 68 65 20 68 61 | dissect|s the ha|
|00004e80| 6e 64 6c 65 20 69 6e 74 | 6f 20 73 65 70 61 72 61 |ndle int|o separa|
|00004e90| 74 65 20 74 72 65 65 20 | 6f 62 6a 65 63 74 73 2e |te tree |objects.|
|00004ea0| 0d 55 6e 66 6c 61 74 74 | 65 6e 20 61 20 68 69 65 |.Unflatt|en a hie|
|00004eb0| 72 61 72 63 68 79 20 74 | 68 61 74 20 69 73 20 66 |rarchy t|hat is f|
|00004ec0| 6c 61 74 74 65 6e 65 64 | 20 69 6e 20 74 68 65 20 |lattened| in the |
|00004ed0| 68 61 6e 64 6c 65 20 22 | 74 72 65 65 22 2e 0d 47 |handle "|tree"..G|
|00004ee0| 65 74 20 74 68 65 20 6f | 62 6a 65 63 74 20 64 61 |et the o|bject da|
|00004ef0| 74 61 20 66 72 6f 6d 20 | 74 68 65 20 73 74 72 65 |ta from |the stre|
|00004f00| 61 6d 2e 0d 55 6e 66 6c | 61 74 74 65 6e 73 20 61 |am..Unfl|attens a|
|00004f10| 20 77 69 6e 64 6f 77 2d | 66 6f 72 6d 61 74 20 68 | window-|format h|
|00004f20| 61 6e 64 6c 65 20 69 6e | 74 6f 20 73 65 70 61 72 |andle in|to separ|
|00004f30| 61 74 65 20 68 69 65 72 | 61 72 63 68 69 63 61 6c |ate hier|archical|
|00004f40| 20 64 6f 63 75 6d 65 6e | 74 20 6f 62 6a 65 63 74 | documen|t object|
|00004f50| 73 2e 0d 53 74 72 65 61 | 6d 20 74 68 65 20 68 69 |s..Strea|m the hi|
|00004f60| 65 72 61 72 63 68 79 20 | 6f 6e 74 6f 20 74 68 65 |erarchy |onto the|
|00004f70| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 68 61 6e 64 | end of |the hand|
|00004f80| 6c 65 2e 0d 41 70 70 65 | 6e 64 20 64 61 74 61 20 |le..Appe|nd data |
|00004f90| 69 6e 20 6f 62 6a 65 63 | 74 20 6f 6e 74 6f 20 65 |in objec|t onto e|
|00004fa0| 6e 64 20 6f 66 20 68 61 | 6e 64 6c 65 20 72 65 63 |nd of ha|ndle rec|
|00004fb0| 65 69 76 69 6e 67 20 73 | 74 72 65 61 6d 65 64 20 |eiving s|treamed |
|00004fc0| 68 69 65 72 61 72 63 68 | 79 2e 0d 52 65 74 75 72 |hierarch|y..Retur|
|00004fd0| 6e 20 61 6e 20 6f 62 6a | 65 63 74 20 68 61 6e 64 |n an obj|ect hand|
|00004fe0| 6c 65 2c 20 67 69 76 65 | 6e 20 61 20 74 72 65 65 |le, give|n a tree|
|00004ff0| 20 6f 62 6a 65 63 74 20 | 49 44 20 61 6e 64 20 72 | object |ID and r|
|00005000| 65 66 65 72 65 6e 63 65 | 20 6f 62 6a 65 63 74 2e |eference| object.|
|00005010| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|00005020| 6e 64 6f 77 2e 63 29 2e | 20 20 43 61 6c 6c 65 64 |ndow.c).| Called|
|00005030| 20 62 79 20 66 72 61 6d | 65 77 6f 72 6b 20 73 6f | by fram|ework so|
|00005040| 20 61 70 70 20 63 61 6e | 20 64 72 61 77 20 6f 72 | app can| draw or|
|00005050| 20 70 72 69 6e 74 20 64 | 6f 63 2e 0d 49 6e 69 74 | print d|oc..Init|
|00005060| 69 61 6c 69 7a 65 73 20 | 74 68 65 20 63 6f 6e 6e |ializes |the conn|
|00005070| 65 63 74 20 41 70 70 73 | 54 6f 47 6f 20 41 70 70 |ect Apps|ToGo App|
|00005080| 6c 65 45 76 65 6e 74 73 | 20 73 75 70 70 6f 72 74 |leEvents| support|
|00005090| 2e 0d a5 41 70 70 57 61 | 6e 6e 61 62 65 20 28 57 |...AppWa|nnabe (W|
|000050a0| 69 6e 64 6f 77 2e 63 29 | 2e 20 20 43 61 6c 6c 65 |indow.c)|. Calle|
|000050b0| 64 20 62 79 20 66 72 61 | 6d 65 77 6f 72 6b 20 73 |d by fra|mework s|
|000050c0| 6f 20 61 70 70 20 63 61 | 6e 20 64 6f 20 6d 6f 72 |o app ca|n do mor|
|000050d0| 65 20 77 69 6e 64 6f 77 | 20 69 6e 69 74 2e 0d a5 |e window| init...|
|000050e0| 41 70 70 57 61 6e 6e 61 | 62 65 20 28 46 69 6c 65 |AppWanna|be (File|
|000050f0| 2e 63 29 2e 20 20 43 61 | 6c 6c 65 64 20 62 79 20 |.c). Ca|lled by |
|00005100| 66 72 61 6d 65 77 6f 72 | 6b 20 74 6f 20 69 6e 73 |framewor|k to ins|
|00005110| 74 61 6e 74 69 61 74 65 | 20 64 6f 63 20 68 61 6e |tantiate| doc han|
|00005120| 64 6c 65 20 28 66 72 48 | 6e 64 6c 29 2e 0d a5 41 |dle (frH|ndl)...A|
|00005130| 70 70 57 61 6e 6e 61 62 | 65 20 28 46 69 6c 65 2e |ppWannab|e (File.|
|00005140| 63 29 2e 20 20 43 61 6c | 6c 65 64 20 62 79 20 66 |c). Cal|led by f|
|00005150| 72 61 6d 65 77 6f 72 6b | 20 74 6f 20 67 65 74 20 |ramework| to get |
|00005160| 73 69 7a 65 20 6f 66 20 | 64 6f 63 20 68 61 6e 64 |size of |doc hand|
|00005170| 6c 65 20 74 6f 20 63 72 | 65 61 74 65 2e 0d 41 70 |le to cr|eate..Ap|
|00005180| 70 73 54 6f 47 6f 20 74 | 6f 6f 6c 62 6f 78 2f 61 |psToGo t|oolbox/a|
|00005190| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 6e 69 74 69 |pplicati|on initi|
|000051a0| 61 6c 69 7a 61 74 69 6f | 6e 2e 0d 47 65 6e 65 72 |alizatio|n..Gener|
|000051b0| 69 63 61 6c 6c 79 20 69 | 6e 69 74 69 61 6c 69 7a |ically i|nitializ|
|000051c0| 65 73 20 51 75 69 63 6b | 54 69 6d 65 2e 0d 49 6e |es Quick|Time..In|
|000051d0| 69 74 69 61 6c 69 7a 65 | 73 20 41 70 70 6c 65 45 |itialize|s AppleE|
|000051e0| 76 65 6e 74 20 64 69 73 | 70 61 74 63 68 65 72 20 |vent dis|patcher |
|000051f0| 66 6f 72 20 74 68 65 20 | 72 65 71 75 69 72 65 64 |for the |required|
|00005200| 20 41 70 70 6c 65 45 76 | 65 6e 74 73 2e 0d 49 6e | AppleEv|ents..In|
|00005210| 69 74 69 61 6c 69 7a 65 | 20 74 68 65 20 74 6f 6f |itialize| the too|
|00005220| 6c 62 6f 78 20 69 6e 20 | 74 68 65 20 d2 73 74 61 |lbox in |the .sta|
|00005230| 6e 64 61 72 64 d3 20 77 | 61 79 20 66 6f 72 20 61 |ndard. w|ay for a|
|00005240| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 0d 49 6e 73 |pplicati|ons..Ins|
|00005250| 74 61 6c 6c 20 41 70 70 | 73 54 6f 47 6f 20 63 75 |tall App|sToGo cu|
|00005260| 73 74 6f 6d 20 41 70 70 | 6c 65 45 76 65 6e 74 73 |stom App|leEvents|
|00005270| 20 66 6f 72 20 65 64 69 | 74 69 6e 67 20 72 75 6e | for edi|ting run|
|00005280| 6e 69 6e 67 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ning app|lication|
|00005290| 73 2e 0d 41 64 64 73 20 | 61 6e 20 65 78 69 73 74 |s..Adds |an exist|
|000052a0| 69 6e 67 20 63 68 69 6c | 64 20 74 6f 20 61 20 70 |ing chil|d to a p|
|000052b0| 61 72 65 6e 74 27 73 20 | 63 68 69 6c 64 20 68 61 |arent's |child ha|
|000052c0| 6e 64 6c 65 20 74 61 62 | 6c 65 2e 0d 4c 6f 6f 6b |ndle tab|le..Look|
|000052d0| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 6d 65 6e | through| the men|
|000052e0| 75 20 69 74 65 6d 73 20 | 66 6f 72 20 68 69 65 72 |u items |for hier|
|000052f0| 61 72 63 68 69 63 61 6c | 20 72 65 66 65 72 65 6e |archical| referen|
|00005300| 63 65 73 20 61 6e 64 20 | 68 61 6e 64 6c 65 20 74 |ces and |handle t|
|00005310| 68 65 6d 2e 0d 49 6e 73 | 65 72 74 20 61 20 6c 61 |hem..Ins|ert a la|
|00005320| 79 65 72 20 69 6e 74 6f | 20 61 20 68 69 65 72 61 |yer into| a hiera|
|00005330| 72 63 68 79 2e 0d 49 6e | 76 61 6c 69 64 61 74 65 |rchy..In|validate|
|00005340| 20 61 20 72 65 63 74 61 | 6e 67 6c 65 2d 77 6f 72 | a recta|ngle-wor|
|00005350| 74 68 20 6f 66 20 74 68 | 65 20 6c 61 79 65 72 2e |th of th|e layer.|
|00005360| 0d 52 65 74 75 72 6e 20 | 74 72 75 65 20 69 66 20 |.Return |true if |
|00005370| 74 68 65 20 77 69 6e 64 | 6f 77 4b 69 6e 64 20 6f |the wind|owKind o|
|00005380| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 20 69 73 20 |f the wi|ndow is |
|00005390| 67 72 65 61 74 65 72 20 | 74 68 61 6e 20 6f 72 20 |greater |than or |
|000053a0| 65 71 75 61 6c 20 74 6f | 20 75 73 65 72 4b 69 6e |equal to| userKin|
|000053b0| 64 2e 0d 43 68 65 63 6b | 20 69 66 20 74 68 65 20 |d..Check| if the |
|000053c0| 63 6f 6e 74 72 6f 6c 20 | 69 73 20 61 20 27 63 69 |control |is a 'ci|
|000053d0| 63 6e 27 20 63 6f 6e 74 | 72 6f 6c 2e 0d 4c 65 74 |cn' cont|rol..Let|
|000053e0| 20 61 20 63 6f 6e 74 72 | 6f 6c 20 68 61 6e 64 6c | a contr|ol handl|
|000053f0| 65 20 74 68 65 20 65 76 | 65 6e 74 2e 0d 52 65 74 |e the ev|ent..Ret|
|00005400| 75 72 6e 20 74 72 75 65 | 20 69 66 20 74 68 65 20 |urn true| if the |
|00005410| 77 69 6e 64 6f 77 4b 69 | 6e 64 20 6f 66 20 74 68 |windowKi|nd of th|
|00005420| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 6c 65 73 73 |e window| is less|
|00005430| 20 74 68 61 6e 20 7a 65 | 72 6f 2e 0d 43 68 65 63 | than ze|ro..Chec|
|00005440| 6b 20 69 66 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |k if the| control|
|00005450| 20 69 73 20 61 20 27 50 | 49 43 54 27 20 63 6f 6e | is a 'P|ICT' con|
|00005460| 74 72 6f 6c 2e 0d 52 65 | 74 75 72 6e 20 74 72 75 |trol..Re|turn tru|
|00005470| 65 20 69 66 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |e if the| control|
|00005480| 20 69 73 20 61 20 73 63 | 72 6f 6c 6c 62 61 72 2e | is a sc|rollbar.|
|00005490| 0d 43 68 65 63 6b 20 69 | 66 20 74 68 65 20 63 6f |.Check i|f the co|
|000054a0| 6e 74 72 6f 6c 20 69 73 | 20 61 20 54 65 78 74 45 |ntrol is| a TextE|
|000054b0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 2e 0d 41 6c 6c |dit cont|rol..All|
|000054c0| 6f 77 73 20 79 6f 75 20 | 74 6f 20 61 73 73 69 67 |ows you |to assig|
|000054d0| 6e 20 6b 65 79 20 65 71 | 75 69 76 61 6c 65 6e 74 |n key eq|uivalent|
|000054e0| 73 20 74 6f 20 64 69 61 | 6c 6f 67 20 69 74 65 6d |s to dia|log item|
|000054f0| 73 2e 0d 53 79 73 74 65 | 6d 20 36 26 37 2d 73 61 |s..Syste|m 6&7-sa|
|00005500| 76 76 79 20 44 69 73 70 | 6f 73 65 43 49 63 6f 6e |vvy Disp|oseCIcon|
|00005510| 20 63 61 6c 6c 2e 0d 41 | 75 74 6f 2d 6c 61 75 6e | call..A|uto-laun|
|00005520| 63 68 20 70 72 65 2d 72 | 65 63 6f 72 64 65 64 20 |ch pre-r|ecorded |
|00005530| 72 65 6d 6f 74 65 20 61 | 70 70 6c 69 63 61 74 69 |remote a|pplicati|
|00005540| 6f 6e 2e 0d 53 61 6d 65 | 20 61 73 20 53 63 72 65 |on..Same| as Scre|
|00005550| 65 6e 44 65 70 74 68 52 | 65 67 69 6f 6e 2c 20 65 |enDepthR|egion, e|
|00005560| 78 63 65 70 74 20 74 68 | 61 74 20 69 74 20 6c 6f |xcept th|at it lo|
|00005570| 63 61 6c 69 7a 65 73 20 | 74 68 65 20 72 65 67 69 |calizes |the regi|
|00005580| 6f 6e 2e 0d 43 6f 6e 76 | 65 72 74 20 74 68 65 20 |on..Conv|ert the |
|00005590| 6c 6f 63 61 6c 20 72 65 | 63 74 20 74 6f 20 67 6c |local re|ct to gl|
|000055a0| 6f 62 61 6c 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |obal coo|rdinates|
|000055b0| 2c 20 62 61 73 65 64 20 | 6f 6e 20 74 68 65 20 63 |, based |on the c|
|000055c0| 75 72 72 65 6e 74 20 67 | 72 61 66 50 6f 72 74 2e |urrent g|rafPort.|
|000055d0| 0d 44 6f 65 73 20 61 20 | 4d 6f 76 65 48 48 69 20 |.Does a |MoveHHi |
|000055e0| 6f 6e 20 74 68 65 20 68 | 61 6e 64 6c 65 20 61 6e |on the h|andle an|
|000055f0| 64 20 74 68 65 6e 20 6c | 6f 63 6b 73 20 69 74 2e |d then l|ocks it.|
|00005600| 0d 4c 6f 63 6b 20 64 6f | 77 6e 20 74 68 65 20 70 |.Lock do|wn the p|
|00005610| 69 78 65 6c 73 20 66 6f | 72 20 61 20 6c 61 79 65 |ixels fo|r a laye|
|00005620| 72 27 73 20 47 57 6f 72 | 6c 64 2e 0d 43 72 65 61 |r's GWor|ld..Crea|
|00005630| 74 65 20 61 20 63 6f 6e | 74 72 6f 6c 20 62 61 73 |te a con|trol bas|
|00005640| 65 64 20 6f 6e 20 74 68 | 65 20 63 6f 6e 74 72 6f |ed on th|e contro|
|00005650| 6c 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6f 62 6a |l defini|tion obj|
|00005660| 65 63 74 2e 0d 50 50 43 | 42 72 6f 77 73 65 72 20 |ect..PPC|Browser |
|00005670| 69 6e 74 65 72 66 61 63 | 65 20 74 6f 20 62 75 69 |interfac|e to bui|
|00005680| 6c 64 20 61 20 74 61 72 | 67 65 74 20 64 65 73 63 |ld a tar|get desc|
|00005690| 72 69 70 74 6f 72 2e 0d | 43 6f 6e 76 65 72 74 20 |riptor..|Convert |
|000056a0| 68 61 72 64 20 6d 65 6e | 75 49 74 65 6d 20 49 44 |hard men|uItem ID|
|000056b0| 20 74 6f 20 61 20 73 6f | 66 74 20 49 44 2e 0d 52 | to a so|ft ID..R|
|000056c0| 65 74 75 72 6e 73 20 74 | 72 75 65 20 69 66 20 6e |eturns t|rue if n|
|000056d0| 6f 74 20 61 20 41 45 20 | 70 61 72 6d 73 20 77 65 |ot a AE |parms we|
|000056e0| 72 65 20 75 73 65 64 2e | 0d 53 61 76 65 73 20 61 |re used.|.Saves a|
|000056f0| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 63 68 69 | copy of| the chi|
|00005700| 6c 64 20 69 6e 20 74 68 | 65 20 75 6e 64 6f 20 68 |ld in th|e undo h|
|00005710| 69 65 72 61 72 63 68 79 | 20 66 6f 72 20 75 6e 64 |ierarchy| for und|
|00005720| 6f 2f 72 65 64 6f 20 70 | 75 72 70 6f 73 65 73 2e |o/redo p|urposes.|
|00005730| 0d 4d 6f 76 65 73 20 61 | 20 63 68 69 6c 64 20 66 |.Moves a| child f|
|00005740| 72 6f 6d 20 6f 6e 65 20 | 6c 6f 63 61 74 69 6f 6e |rom one |location|
|00005750| 20 6f 6e 20 74 68 65 20 | 74 72 65 65 20 74 6f 20 | on the |tree to |
|00005760| 61 6e 6f 74 68 65 72 2e | 0d 4d 6f 76 65 20 61 6e |another.|.Move an|
|00005770| 20 41 70 70 73 54 6f 47 | 6f 20 73 74 79 6c 65 64 | AppsToG|o styled|
|00005780| 20 63 6f 6e 74 72 6f 6c | 2e 0d 43 72 65 61 74 65 | control|..Create|
|00005790| 73 20 61 20 63 68 69 6c | 64 20 6f 66 20 73 70 65 |s a chil|d of spe|
|000057a0| 63 69 66 69 65 64 20 74 | 79 70 65 20 61 6e 64 20 |cified t|ype and |
|000057b0| 61 64 64 73 20 69 74 20 | 74 6f 20 70 61 72 65 6e |adds it |to paren|
|000057c0| 74 20 61 74 20 73 70 65 | 63 69 66 69 65 64 20 6c |t at spe|cified l|
|000057d0| 6f 63 61 74 69 6f 6e 2e | 0d 43 72 65 61 74 65 20 |ocation.|.Create |
|000057e0| 6e 65 77 20 41 70 70 73 | 54 6f 47 6f 20 64 6f 63 |new Apps|ToGo doc|
|000057f0| 75 6d 65 6e 74 2e 0d 43 | 61 6c 6c 73 20 4e 65 77 |ument..C|alls New|
|00005800| 44 6f 63 75 6d 65 6e 74 | 2c 20 61 6e 64 20 69 66 |Document|, and if|
|00005810| 20 73 75 63 63 65 73 73 | 66 75 6c 2c 20 44 6f 4e | success|ful, DoN|
|00005820| 65 77 57 69 6e 64 6f 77 | 2e 0d 43 72 65 61 74 65 |ewWindow|..Create|
|00005830| 20 61 20 6c 61 79 65 72 | 20 6f 62 6a 65 63 74 20 | a layer| object |
|00005840| 66 6f 72 20 6f 66 66 73 | 63 72 65 65 6e 20 64 72 |for offs|creen dr|
|00005850| 61 77 69 6e 67 2e 0d 43 | 72 65 61 74 65 20 61 20 |awing..C|reate a |
|00005860| 72 6f 6f 74 20 6f 62 6a | 65 63 74 2c 20 69 2e 65 |root obj|ect, i.e|
|00005870| 2e 2c 20 6f 6e 65 20 74 | 68 61 74 20 68 61 73 20 |., one t|hat has |
|00005880| 6e 6f 20 70 61 72 65 6e | 74 20 6f 62 6a 65 63 74 |no paren|t object|
|00005890| 2e 0d 43 6c 6f 73 65 20 | 61 6e 20 6f 6c 64 20 75 |..Close |an old u|
|000058a0| 6e 64 6f 20 74 61 73 6b | 2c 20 69 6e 20 70 72 65 |ndo task|, in pre|
|000058b0| 70 61 72 61 74 69 6f 6e | 20 66 6f 72 20 61 20 6e |paration| for a n|
|000058c0| 65 77 20 6f 6e 65 2e 0d | 43 68 61 6e 67 65 20 74 |ew one..|Change t|
|000058d0| 68 65 20 77 69 6e 64 6f | 77 2f 64 6f 63 75 6d 65 |he windo|w/docume|
|000058e0| 6e 74 20 74 69 74 6c 65 | 2e 0d 43 61 6e 63 65 6c |nt title|..Cancel|
|000058f0| 73 20 61 20 6e 6f 74 69 | 66 69 63 61 74 69 6f 6e |s a noti|fication|
|00005900| 20 67 65 6e 65 72 61 74 | 65 64 20 62 79 20 4e 6f | generat|ed by No|
|00005910| 74 69 66 79 55 73 65 72 | 2e 0d 43 72 65 61 74 65 |tifyUser|..Create|
|00005920| 73 20 61 20 64 65 66 61 | 75 6c 74 20 6e 6f 74 69 |s a defa|ult noti|
|00005930| 66 69 63 61 74 69 6f 6e | 2e 20 20 43 61 6c 6c 20 |fication|. Call |
|00005940| 4e 6f 74 69 66 79 43 61 | 6e 63 65 6c 20 74 6f 20 |NotifyCa|ncel to |
|00005950| 75 6e 64 6f 2e 0d 44 65 | 74 65 72 6d 69 6e 65 73 |undo..De|termines|
|00005960| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 | the siz|e of the|
|00005970| 20 54 6f 6f 6c 20 74 72 | 61 70 20 74 61 62 6c 65 | Tool tr|ap table|
|00005980| 2e 0d 43 6f 6e 76 65 6e | 69 65 6e 74 20 77 61 79 |..Conven|ient way|
|00005990| 20 74 6f 20 6d 6f 76 65 | 20 61 20 63 6f 6e 74 72 | to move| a contr|
|000059a0| 6f 6c 20 61 20 73 70 65 | 63 69 66 69 65 64 20 61 |ol a spe|cified a|
|000059b0| 6d 6f 75 6e 74 2e 0d 4f | 70 65 6e 20 61 6e 20 41 |mount..O|pen an A|
|000059c0| 70 70 73 54 6f 47 6f 20 | 64 6f 63 75 6d 65 6e 74 |ppsToGo |document|
|000059d0| 2e 0d 43 61 6c 6c 73 20 | 4f 70 65 6e 44 6f 63 75 |..Calls |OpenDocu|
|000059e0| 6d 65 6e 74 2c 20 61 6e | 64 20 69 66 20 73 75 63 |ment, an|d if suc|
|000059f0| 63 65 73 73 66 75 6c 2c | 20 44 6f 4e 65 77 57 69 |cessful,| DoNewWi|
|00005a00| 6e 64 6f 77 2e 0d 4f 70 | 65 6e 20 61 6c 6c 20 77 |ndow..Op|en all w|
|00005a10| 69 6e 64 6f 77 73 20 74 | 68 61 74 20 61 72 65 20 |indows t|hat are |
|00005a20| 63 6f 72 72 65 63 74 6c | 79 20 64 65 73 69 67 6e |correctl|y design|
|00005a30| 61 74 65 64 20 77 69 74 | 68 20 41 70 70 73 54 6f |ated wit|h AppsTo|
|00005a40| 47 6f 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 65 |Go appli|cation e|
|00005a50| 64 69 74 6f 72 2e 0d 44 | 72 61 77 20 74 68 65 20 |ditor..D|raw the |
|00005a60| 64 65 66 61 75 6c 74 20 | 69 6e 64 69 63 61 74 6f |default |indicato|
|00005a70| 72 20 61 72 6f 75 6e 64 | 20 74 68 65 20 63 6f 6e |r around| the con|
|00005a80| 74 72 6f 6c 2e 0d 44 72 | 61 77 20 74 68 65 20 64 |trol..Dr|aw the d|
|00005a90| 65 66 61 75 6c 74 20 69 | 6e 64 69 63 61 74 6f 72 |efault i|ndicator|
|00005aa0| 20 61 72 6f 75 6e 64 20 | 74 68 65 20 64 69 61 6c | around |the dial|
|00005ab0| 6f 67 20 69 74 65 6d 2e | 0d 43 6f 6e 76 65 72 74 |og item.|.Convert|
|00005ac0| 20 61 20 70 61 73 63 61 | 6c 2d 73 74 72 69 6e 67 | a pasca|l-string|
|00005ad0| 20 74 6f 20 61 20 63 2d | 73 74 72 69 6e 67 2e 0d | to a c-|string..|
|00005ae0| 43 6f 6e 76 65 72 74 20 | 74 68 65 20 70 61 73 63 |Convert |the pasc|
|00005af0| 61 6c 2d 73 74 72 69 6e | 67 20 74 6f 20 61 20 64 |al-strin|g to a d|
|00005b00| 65 63 69 6d 61 6c 20 6e | 75 6d 62 65 72 2e 0d 43 |ecimal n|umber..C|
|00005b10| 6f 6e 76 65 72 74 20 74 | 68 65 20 70 61 73 63 61 |onvert t|he pasca|
|00005b20| 6c 2d 73 74 72 69 6e 67 | 20 74 6f 20 61 20 68 65 |l-string| to a he|
|00005b30| 78 20 6e 75 6d 62 65 72 | 2e 0d 43 6f 6e 76 65 72 |x number|..Conver|
|00005b40| 74 20 74 68 65 20 70 61 | 73 63 61 6c 2d 73 74 72 |t the pa|scal-str|
|00005b50| 69 6e 67 20 74 6f 20 61 | 20 6e 75 6d 62 65 72 20 |ing to a| number |
|00005b60| 6f 66 20 74 68 65 20 64 | 65 73 69 67 6e 61 74 65 |of the d|esignate|
|00005b70| 64 20 62 61 73 65 2e 0d | a5 41 70 70 57 61 6e 6e |d base..|.AppWann|
|00005b80| 61 62 65 20 28 57 69 6e | 64 6f 77 50 61 6c 65 74 |abe (Win|dowPalet|
|00005b90| 74 65 2e 63 29 2e 20 20 | 53 61 6d 65 20 61 73 20 |te.c). |Same as |
|00005ba0| 43 61 6c 63 46 72 61 6d | 65 52 67 6e 2c 20 62 75 |CalcFram|eRgn, bu|
|00005bb0| 74 20 66 6f 72 20 70 61 | 6c 65 74 74 65 73 2e 0d |t for pa|lettes..|
|00005bc0| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00005bd0| 64 6f 77 50 61 6c 65 74 | 74 65 2e 63 29 2e 20 20 |dowPalet|te.c). |
|00005be0| 53 61 6d 65 20 61 73 20 | 43 6f 6e 74 65 6e 74 43 |Same as |ContentC|
|00005bf0| 6c 69 63 6b 2c 20 62 75 | 74 20 66 6f 72 20 70 61 |lick, bu|t for pa|
|00005c00| 6c 65 74 74 65 73 2e 0d | a5 41 70 70 57 61 6e 6e |lettes..|.AppWann|
|00005c10| 61 62 65 20 28 57 69 6e | 64 6f 77 50 61 6c 65 74 |abe (Win|dowPalet|
|00005c20| 74 65 2e 63 29 2e 20 20 | 53 61 6d 65 20 61 73 20 |te.c). |Same as |
|00005c30| 43 6f 6e 74 65 6e 74 4b | 65 79 2c 20 62 75 74 20 |ContentK|ey, but |
|00005c40| 66 6f 72 20 70 61 6c 65 | 74 74 65 73 2e 0d a5 41 |for pale|ttes...A|
|00005c50| 70 70 57 61 6e 6e 61 62 | 65 20 28 57 69 6e 64 6f |ppWannab|e (Windo|
|00005c60| 77 50 61 6c 65 74 74 65 | 2e 63 29 2e 20 20 53 61 |wPalette|.c). Sa|
|00005c70| 6d 65 20 61 73 20 44 72 | 61 77 46 72 61 6d 65 2c |me as Dr|awFrame,|
|00005c80| 20 62 75 74 20 66 6f 72 | 20 70 61 6c 65 74 74 65 | but for| palette|
|00005c90| 73 2e 0d a5 41 70 70 57 | 61 6e 6e 61 62 65 20 28 |s...AppW|annabe (|
|00005ca0| 57 69 6e 64 6f 77 50 61 | 6c 65 74 74 65 2e 63 29 |WindowPa|lette.c)|
|00005cb0| 2e 20 20 53 61 6d 65 20 | 61 73 20 46 72 65 65 44 |. Same |as FreeD|
|00005cc0| 6f 63 75 6d 65 6e 74 2c | 20 62 75 74 20 66 6f 72 |ocument,| but for|
|00005cd0| 20 70 61 6c 65 74 74 65 | 73 2e 0d a5 41 70 70 57 | palette|s...AppW|
|00005ce0| 61 6e 6e 61 62 65 20 28 | 57 69 6e 64 6f 77 50 61 |annabe (|WindowPa|
|00005cf0| 6c 65 74 74 65 2e 63 29 | 2e 20 20 53 61 6d 65 20 |lette.c)|. Same |
|00005d00| 61 73 20 46 72 65 65 57 | 69 6e 64 6f 77 2c 20 62 |as FreeW|indow, b|
|00005d10| 75 74 20 66 6f 72 20 70 | 61 6c 65 74 74 65 73 2e |ut for p|alettes.|
|00005d20| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|00005d30| 6e 64 6f 77 50 61 6c 65 | 74 74 65 2e 63 29 2e 20 |ndowPale|tte.c). |
|00005d40| 20 53 61 6d 65 20 61 73 | 20 49 6d 61 67 65 44 6f | Same as| ImageDo|
|00005d50| 63 75 6d 65 6e 74 2c 20 | 62 75 74 20 66 6f 72 20 |cument, |but for |
|00005d60| 70 61 6c 65 74 74 65 73 | 2e 0d a5 41 70 70 57 61 |palettes|...AppWa|
|00005d70| 6e 6e 61 62 65 20 28 57 | 69 6e 64 6f 77 50 61 6c |nnabe (W|indowPal|
|00005d80| 65 74 74 65 2e 63 29 2e | 20 20 53 61 6d 65 20 61 |ette.c).| Same a|
|00005d90| 73 20 49 6e 69 74 43 6f | 6e 74 65 6e 74 2c 20 62 |s InitCo|ntent, b|
|00005da0| 75 74 20 66 6f 72 20 70 | 61 6c 65 74 74 65 73 2e |ut for p|alettes.|
|00005db0| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|00005dc0| 6e 64 6f 77 50 61 6c 65 | 74 74 65 2e 63 29 2e 20 |ndowPale|tte.c). |
|00005dd0| 20 53 61 6d 65 20 61 73 | 20 52 65 73 69 7a 65 43 | Same as| ResizeC|
|00005de0| 6f 6e 74 65 6e 74 2c 20 | 62 75 74 20 66 6f 72 20 |ontent, |but for |
|00005df0| 70 61 6c 65 74 74 65 73 | 2e 0d a5 41 70 70 57 61 |palettes|...AppWa|
|00005e00| 6e 6e 61 62 65 20 28 57 | 69 6e 64 6f 77 50 61 6c |nnabe (W|indowPal|
|00005e10| 65 74 74 65 2e 63 29 2e | 20 20 53 61 6d 65 20 61 |ette.c).| Same a|
|00005e20| 73 20 53 63 72 6f 6c 6c | 46 72 61 6d 65 2c 20 62 |s Scroll|Frame, b|
|00005e30| 75 74 20 66 6f 72 20 70 | 61 6c 65 74 74 65 73 2e |ut for p|alettes.|
|00005e40| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|00005e50| 6e 64 6f 77 50 61 6c 65 | 74 74 65 2e 63 29 2e 20 |ndowPale|tte.c). |
|00005e60| 20 53 61 6d 65 20 61 73 | 20 55 6e 64 6f 46 69 78 | Same as| UndoFix|
|00005e70| 75 70 2c 20 62 75 74 20 | 66 6f 72 20 70 61 6c 65 |up, but |for pale|
|00005e80| 74 74 65 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |ttes...A|ppWannab|
|00005e90| 65 20 28 57 69 6e 64 6f | 77 50 61 6c 65 74 74 65 |e (Windo|wPalette|
|00005ea0| 2e 63 29 2e 20 20 53 61 | 6d 65 20 61 73 20 57 69 |.c). Sa|me as Wi|
|00005eb0| 6e 64 6f 77 43 75 72 73 | 6f 72 2c 20 62 75 74 20 |ndowCurs|or, but |
|00005ec0| 66 6f 72 20 70 61 6c 65 | 74 74 65 73 2e 0d a5 41 |for pale|ttes...A|
|00005ed0| 70 70 57 61 6e 6e 61 62 | 65 20 28 57 69 6e 64 6f |ppWannab|e (Windo|
|00005ee0| 77 50 61 6c 65 74 74 65 | 2e 63 29 2e 20 20 53 61 |wPalette|.c). Sa|
|00005ef0| 6d 65 20 61 73 20 57 69 | 6e 64 6f 77 47 6f 6e 65 |me as Wi|ndowGone|
|00005f00| 46 69 78 75 70 2c 20 62 | 75 74 20 66 6f 72 20 70 |Fixup, b|ut for p|
|00005f10| 61 6c 65 74 74 65 73 2e | 0d 49 6d 70 6c 65 6d 65 |alettes.|.Impleme|
|00005f20| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 74 65 63 68 20 |ntation |of tech |
|00005f30| 6e 6f 74 65 20 23 32 33 | 38 2e 0d 43 61 74 65 6e |note #23|8..Caten|
|00005f40| 61 74 65 20 74 77 6f 20 | 70 61 73 63 61 6c 2d 73 |ate two |pascal-s|
|00005f50| 74 72 69 6e 67 73 2e 0d | 43 61 74 65 6e 61 74 65 |trings..|Catenate|
|00005f60| 20 61 20 73 69 6e 67 6c | 65 20 63 68 61 72 61 63 | a singl|e charac|
|00005f70| 74 65 72 20 6d 75 6c 74 | 69 70 6c 65 20 74 69 6d |ter mult|iple tim|
|00005f80| 65 73 20 6f 6e 74 6f 20 | 74 68 65 20 64 65 73 69 |es onto |the desi|
|00005f90| 67 6e 61 74 65 64 20 73 | 74 72 69 6e 67 2e 0d 43 |gnated s|tring..C|
|00005fa0| 6f 6e 76 65 72 74 20 76 | 61 6c 75 65 20 69 6e 74 |onvert v|alue int|
|00005fb0| 6f 20 62 61 73 65 2d 31 | 30 20 74 65 78 74 20 61 |o base-1|0 text a|
|00005fc0| 6e 64 20 63 61 74 65 6e | 61 74 65 20 69 74 20 6f |nd caten|ate it o|
|00005fd0| 6e 74 6f 20 74 68 65 20 | 73 74 72 69 6e 67 2e 0d |nto the |string..|
|00005fe0| 43 6f 6e 76 65 72 74 20 | 76 61 6c 75 65 20 69 6e |Convert |value in|
|00005ff0| 74 6f 20 62 61 73 65 2d | 31 36 20 74 65 78 74 20 |to base-|16 text |
|00006000| 61 6e 64 20 63 61 74 65 | 6e 61 74 65 20 69 74 20 |and cate|nate it |
|00006010| 6f 6e 74 6f 20 74 68 65 | 20 73 74 72 69 6e 67 2c |onto the| string,|
|00006020| 20 77 69 74 68 20 6e 6f | 20 70 61 64 64 69 6e 67 | with no| padding|
|00006030| 2e 0d 43 6f 6e 76 65 72 | 74 20 76 61 6c 75 65 20 |..Conver|t value |
|00006040| 69 6e 74 6f 20 64 65 73 | 69 67 6e 61 74 65 64 20 |into des|ignated |
|00006050| 74 65 78 74 20 61 6e 64 | 20 63 61 74 65 6e 61 74 |text and| catenat|
|00006060| 65 20 69 74 20 6f 6e 74 | 6f 20 74 68 65 20 73 74 |e it ont|o the st|
|00006070| 72 69 6e 67 2c 20 77 69 | 74 68 20 6e 6f 20 70 61 |ring, wi|th no pa|
|00006080| 64 64 69 6e 67 2e 0d 43 | 6f 6e 76 65 72 74 20 76 |dding..C|onvert v|
|00006090| 61 6c 75 65 20 69 6e 74 | 6f 20 62 61 73 65 2d 31 |alue int|o base-1|
|000060a0| 30 20 74 65 78 74 20 61 | 6e 64 20 63 61 74 65 6e |0 text a|nd caten|
|000060b0| 61 74 65 20 69 74 20 6f | 6e 74 6f 20 74 68 65 20 |ate it o|nto the |
|000060c0| 73 74 72 69 6e 67 2c 20 | 77 69 74 68 20 70 61 64 |string, |with pad|
|000060d0| 64 69 6e 67 2e 0d 43 6f | 6e 76 65 72 74 20 76 61 |ding..Co|nvert va|
|000060e0| 6c 75 65 20 69 6e 74 6f | 20 62 61 73 65 2d 31 36 |lue into| base-16|
|000060f0| 20 74 65 78 74 20 61 6e | 64 20 63 61 74 65 6e 61 | text an|d catena|
|00006100| 74 65 20 69 74 20 6f 6e | 74 6f 20 74 68 65 20 73 |te it on|to the s|
|00006110| 74 72 69 6e 67 2c 20 77 | 69 74 68 20 70 61 64 64 |tring, w|ith padd|
|00006120| 69 6e 67 2e 0d 43 6f 6e | 76 65 72 74 20 76 61 6c |ing..Con|vert val|
|00006130| 75 65 20 69 6e 74 6f 20 | 64 65 73 69 67 6e 61 74 |ue into |designat|
|00006140| 65 64 20 62 61 73 65 20 | 74 65 78 74 20 61 6e 64 |ed base |text and|
|00006150| 20 63 61 74 65 6e 61 74 | 65 20 69 74 20 6f 6e 74 | catenat|e it ont|
|00006160| 6f 20 74 68 65 20 73 74 | 72 69 6e 67 2c 20 77 69 |o the st|ring, wi|
|00006170| 74 68 20 70 61 64 64 69 | 6e 67 2e 0d 43 6f 6d 70 |th paddi|ng..Comp|
|00006180| 61 72 65 20 74 77 6f 20 | 70 61 73 63 61 6c 2d 73 |are two |pascal-s|
|00006190| 74 72 69 6e 67 73 2e 0d | 43 6f 70 79 20 61 20 70 |trings..|Copy a p|
|000061a0| 61 73 63 61 6c 2d 73 74 | 72 69 6e 67 2e 0d 43 6f |ascal-st|ring..Co|
|000061b0| 70 79 20 61 20 73 69 6e | 67 6c 65 20 63 68 61 72 |py a sin|gle char|
|000061c0| 61 63 74 65 72 20 6d 75 | 6c 74 69 70 6c 65 20 74 |acter mu|ltiple t|
|000061d0| 69 6d 65 73 20 69 6e 74 | 6f 20 74 68 65 20 64 65 |imes int|o the de|
|000061e0| 73 69 67 6e 61 74 65 64 | 20 73 74 72 69 6e 67 2e |signated| string.|
|000061f0| 0d 43 6f 6e 76 65 72 74 | 20 76 61 6c 75 65 20 69 |.Convert| value i|
|00006200| 6e 74 6f 20 62 61 73 65 | 2d 31 30 20 74 65 78 74 |nto base|-10 text|
|00006210| 20 61 6e 64 20 63 6f 70 | 79 20 69 74 20 69 6e 74 | and cop|y it int|
|00006220| 6f 20 74 68 65 20 73 74 | 72 69 6e 67 2e 0d 43 6f |o the st|ring..Co|
|00006230| 6e 76 65 72 74 20 76 61 | 6c 75 65 20 69 6e 74 6f |nvert va|lue into|
|00006240| 20 62 61 73 65 2d 31 36 | 20 74 65 78 74 20 61 6e | base-16| text an|
|00006250| 64 20 63 6f 70 79 20 69 | 74 20 69 6e 74 6f 20 74 |d copy i|t into t|
|00006260| 68 65 20 73 74 72 69 6e | 67 2c 20 77 69 74 68 20 |he strin|g, with |
|00006270| 6e 6f 20 70 61 64 64 69 | 6e 67 2e 0d 43 6f 6e 76 |no paddi|ng..Conv|
|00006280| 65 72 74 20 76 61 6c 75 | 65 20 69 6e 74 6f 20 64 |ert valu|e into d|
|00006290| 65 73 69 67 6e 61 74 65 | 64 20 74 65 78 74 20 61 |esignate|d text a|
|000062a0| 6e 64 20 63 6f 70 79 20 | 69 74 20 69 6e 74 6f 20 |nd copy |it into |
|000062b0| 74 68 65 20 73 74 72 69 | 6e 67 2c 20 77 69 74 68 |the stri|ng, with|
|000062c0| 20 6e 6f 20 70 61 64 64 | 69 6e 67 2e 0d 43 6f 6e | no padd|ing..Con|
|000062d0| 76 65 72 74 20 76 61 6c | 75 65 20 69 6e 74 6f 20 |vert val|ue into |
|000062e0| 62 61 73 65 2d 31 30 20 | 74 65 78 74 20 61 6e 64 |base-10 |text and|
|000062f0| 20 63 6f 70 79 20 69 74 | 20 69 6e 74 6f 20 74 68 | copy it| into th|
|00006300| 65 20 73 74 72 69 6e 67 | 2c 20 77 69 74 68 20 70 |e string|, with p|
|00006310| 61 64 64 69 6e 67 2e 0d | 43 6f 6e 76 65 72 74 20 |adding..|Convert |
|00006320| 76 61 6c 75 65 20 69 6e | 74 6f 20 62 61 73 65 2d |value in|to base-|
|00006330| 31 36 20 74 65 78 74 20 | 61 6e 64 20 63 6f 70 79 |16 text |and copy|
|00006340| 20 69 74 20 69 6e 74 6f | 20 74 68 65 20 73 74 72 | it into| the str|
|00006350| 69 6e 67 2c 20 77 69 74 | 68 20 70 61 64 64 69 6e |ing, wit|h paddin|
|00006360| 67 2e 0d 43 6f 6e 76 65 | 72 74 20 76 61 6c 75 65 |g..Conve|rt value|
|00006370| 20 69 6e 74 6f 20 64 65 | 73 69 67 6e 61 74 65 64 | into de|signated|
|00006380| 20 62 61 73 65 20 74 65 | 78 74 20 61 6e 64 20 63 | base te|xt and c|
|00006390| 6f 70 79 20 69 74 20 69 | 6e 74 6f 20 74 68 65 20 |opy it i|nto the |
|000063a0| 73 74 72 69 6e 67 2c 20 | 77 69 74 68 20 70 61 64 |string, |with pad|
|000063b0| 64 69 6e 67 2e 0d 47 65 | 74 20 61 6e 20 46 53 53 |ding..Ge|t an FSS|
|000063c0| 70 65 63 20 74 6f 20 70 | 65 72 73 69 73 74 20 77 |pec to p|ersist w|
|000063d0| 68 65 6e 20 73 61 76 65 | 64 20 74 6f 20 64 69 73 |hen save|d to dis|
|000063e0| 6b 2e 0d 50 6f 73 69 74 | 69 6f 6e 73 20 6f 6e 65 |k..Posit|ions one|
|000063f0| 20 72 65 63 74 20 77 69 | 74 68 69 6e 20 61 6e 6f | rect wi|thin ano|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.